print environment variables to screen if debug mode is set