Node can print an uncaught exception trace when it exits due to an uncaught exception. This feature is enabled when I pass --trace-uncaught
to node.
How do I enable this feature from the source code from within my script?
Perhaps something along the lines of node.trace_uncaught = true
?