I agree but I also use DEBUG in my scripts to allow for on the fly debugging to occur.
I consider it a degenerate case and its only there for my own use and abuse. All it really does is redefines certain functions to be more verbose or print out debug level information.
I had one script that let you do DEBUG=somefunc and it would instrument just that one function. But to be honest it was overkill.
I consider it a degenerate case and its only there for my own use and abuse. All it really does is redefines certain functions to be more verbose or print out debug level information.
I had one script that let you do DEBUG=somefunc and it would instrument just that one function. But to be honest it was overkill.