mirror of https://github.com/nodejs/node.git
doc: update to adding listens on SIGUSR1
Updated the doc/api/process.md documentation to reflect that listening on SIGUSR1 could impact the debugger. Fixes: https://github.com/nodejs/node/issues/19619 PR-URL: https://github.com/nodejs/node/pull/19709 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>pull/19709/merge
parent
5579118521
commit
67bbc84185
|
@ -366,7 +366,7 @@ process.on('SIGTERM', handle);
|
|||
```
|
||||
|
||||
* `SIGUSR1` is reserved by Node.js to start the [debugger][]. It's possible to
|
||||
install a listener but doing so will _not_ stop the debugger from starting.
|
||||
install a listener but doing so might interfere with the debugger.
|
||||
* `SIGTERM` and `SIGINT` have default handlers on non-Windows platforms that
|
||||
reset the terminal mode before exiting with code `128 + signal number`. If one
|
||||
of these signals has a listener installed, its default behavior will be
|
||||
|
|
Loading…
Reference in New Issue