Monkey-patching module-level symbols won't work.  Instead, the debug code just prints a clear warning when it is in effect.  Several other improvements, including timing and object stats.