return the Debug mode to it was