node-ofe
node-ofe copied to clipboard
Overwrite OnFatalError to create a heapdump
Here's how to use:
npm install ofe
require('ofe').call();
This will overwrite OnFatalError to create a heapdump when your app fatally crashes.
Can also call this to trigger the heapdump manually and exit the process.
require('ofe').trigger();