Set debug setting to be based on environment variable