Use a DEBUG global variable instead of commenting debug code.