-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
- Version: v6.9.1
- Platform: Linux jesper-UX303LB 4.4.0-72-generic 93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem: util
I really like the addition of util.inspect.defaultOptions
, but what would be even nicer would be some way to specify these using environment variables. That way no code changes would have to be made to specify these and on a local development machine one could set their default preference easily.
I'm suggesting the following environment variables:
NODE_INSPECT_SHOWHIDDEN
NODE_INSPECT_DEPTH
NODE_INSPECT_COLORS
NODE_INSPECT_CUSTOMINSPECT
NODE_INSPECT_SHOWPROXY
NODE_INSPECT_MAXARRAYLENGTH
NODE_INSPECT_BREAKLENGTH
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.