Added print debug info function to Xutil