Altered config to turn debug off on all environments except local.