Allow turning debugging on or off