Moved debugger on/off flag out.