Removes debug mode