doc: add --abort-on-uncaught-exception + vm note
The --abort-on-uncaught-exception
flag is not compatible with error handling involving the vm
module. This is because V8 treats exceptions thrown from a VM as unhandled, and cause the process to abort. This commit adds a note to work around the issue using process.setUncaughtExceptionCaptureCallback()
.
Fixes: https://github.com/nodejs/node/issues/13258
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc