add debug as a configurable environment variable