mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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>
4 lines
59 B
JavaScript
4 lines
59 B
JavaScript
Object.keys(process.env);
|
|
|
|
const env = { ...process.env };
|