We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1070153 commit 0ecd3c6Copy full SHA for 0ecd3c6
doc/api/cli.md
@@ -237,7 +237,8 @@ added: v12.0.0
237
-->
238
239
Enables a signal handler that causes the Node.js process to write a heap dump
240
-when the specified signal is received.
+when the specified signal is received. `signal` must be a valid signal name.
241
+Disabled by default.
242
243
```console
244
$ node --heapsnapshot-signal=SIGUSR2 index.js &
@@ -300,9 +301,6 @@ added: v12.4.0
300
301
302
Specify the file name of the heap profile generated by `--heap-prof`.
303
-Generates a heap snapshot each time the process receives the specified signal.
304
-`signal` must be a valid signal name. Disabled by default.
305
-
306
### `--icu-data-dir=file`
307
<!-- YAML
308
added: v0.11.15
0 commit comments