Allow environment variable to set debug state on test webserver