Automatically disable all debug when doing a release