Added a command to toggle debug mode.