Reset events for debug
Turn off debug