Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 419 Bytes

using_exit_stack_traces.md

File metadata and controls

15 lines (10 loc) · 419 Bytes

Using --trace-exit CLI Option

--trace-exit CLI option will print a stack trace on every proactive process.exit invocation. It is convenient to confirm if the abnormal exit of the process was initiated from an invocation of process.exit or something other crashes.

How To

> node --trace-exit src/abnormal-exit.js

Useful Links