the DEBUG paradox
the journal of Michael Werneburg
twenty-eight years and a million words
Tokyo, 2005.06.19
I sometimes use a flag in my code to turn on a debugging mode. This usually writes to a log file on the server, allowing me to understand why the code isn't behaving the way I want. The problem is when I turn on debug mode and the code starts working without my having made any other changes.