Close debug mode