Added command to toggle debug mode on/off