diff --git a/lib/proxy.ts b/lib/proxy.ts index cb577b55c3f2adaadddc274cb8ee5d43f9d622e5..6cc1550ce08444983eb208173981252acfc19a5d 100644 --- a/lib/proxy.ts +++ b/lib/proxy.ts @@ -1,5 +1,6 @@ import is from '@sindresorhus/is'; import { createGlobalProxyAgent } from 'global-agent'; +import { logger } from './logger'; const envVars = ['HTTP_PROXY', 'HTTPS_PROXY', 'NO_PROXY']; @@ -16,6 +17,7 @@ export function bootstrap(): void { } if (process.env[envVar]) { + logger.debug(`Detected ${envVar} value in env`); process.env[envVar.toLowerCase()] = process.env[envVar]; } });