Pretty print AST if debugging is turned on