Only allow DEBUG in non-prod envs.