From 388e552579aff6b5152c67adeda182d2d40e8dfc Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Mon, 26 Jun 2017 11:00:34 -0700 Subject: [PATCH] src: document --abort-on-uncaught-exception Its important for post-mortem diagnostics and should be more prominently documented. PR-URL: https://github.com/nodejs/node/pull/13931 Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann Reviewed-By: Julien Gilli Reviewed-By: Gireesh Punathil Reviewed-By: Gibson Fahnestock Reviewed-By: Michael Dawson --- doc/api/cli.md | 8 ++++++++ doc/node.1 | 4 ++++ src/node.cc | 3 +++ 3 files changed, 15 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index 0c88eeca17..fd2c4d0bd1 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -178,6 +178,14 @@ added: v8.0.0 Enable loading native modules compiled with the ABI-stable Node.js API (N-API) (experimental). +## `--abort-on-uncaught-exception` + + +Aborting instead of exiting causes a core file to be generated for post-mortem +analysis using a debugger (such as `lldb`, `gdb`, and `mdb`). + ### `--trace-warnings`