Switching debug mode off