Enclose all the print info under debug macro