Reseting debug mode