You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/process.md
+21
Original file line number
Diff line number
Diff line change
@@ -3827,6 +3827,27 @@ documentation for the [`'warning'` event][process_warning] and the
3827
3827
[`emitWarning()` method][process_emit_warning] for more information about this
3828
3828
flag's behavior.
3829
3829
3830
+
## `process.traceProcessWarnings`
3831
+
3832
+
<!-- YAML
3833
+
added: v6.10.0
3834
+
-->
3835
+
3836
+
* {boolean}
3837
+
3838
+
The `process.traceProcessWarnings` property indicates whether the `--trace-warnings` flag is set on the current Node.js process. This property allows programmatic control over the tracing of warnings, enabling or disabling stack traces for warnings at runtime.
0 commit comments