Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: