diff --git a/doc/api/util.md b/doc/api/util.md index 9b6282fc67945b..9d452311aa7468 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -739,6 +739,16 @@ fs.access('file/that/does/not/exist', (err) => { }); ``` +## `util.setTraceSigInt(enable)` + + + +* `enable` {boolean} + +Enable or disable printing a stack trace on `SIGINT`. The API is only available on the main thread. + ## `util.inherits(constructor, superConstructor)`