From 1b99ae97ba44f7bd7f49d8ea48e38cb8201c06c9 Mon Sep 17 00:00:00 2001 From: legendecas Date: Fri, 6 Dec 2019 22:26:07 +0800 Subject: [PATCH] fixup! cli: add --trace-exit cli option --- doc/node.1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/node.1 b/doc/node.1 index 5f98ba709121fd..fe51c5828469c3 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -349,6 +349,10 @@ and .It Fl -trace-events-enabled Enable the collection of trace event tracing information. . +.It Fl -trace-exit +Prints a stack trace whenever an environment is been exited proactively, i.e. +invoking `process.exit()`. +. .It Fl -trace-sync-io Print a stack trace whenever synchronous I/O is detected after the first turn of the event loop. .