Switches debug mode off