Change the debug mode.