Debug mode is now determined by an environment variable.