Allow debugging to be turned off dynamically.