I sometimes have several pp stragglers floating around and hate tracking them down. Is it possible to monkey patch the pp macro so it prefixes the output with a line number and filename?
So I don’t recommend monkey patching pp, but it would be pretty easy to write a macro to do what you want. All macro types inherit from ASTNode, and ASTNode includes line_number and column_number methods. So: