This implements --trace-env, --trace-env-js-stack and --trace-env-native-stack CLI options which can be used to find out what environment variables are accessed and where they are accessed. PR-URL: https://github.com/nodejs/node/pull/55604 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
2 lines
58 B
JavaScript
2 lines
58 B
JavaScript
const foo = process.env.FOO;
|
|
const bar = process.env.BAR;
|