Overwrite OnFatalError to produce heapdump
npm install ofeHere's how to use:
``sh`
npm install ofe
`javascript`
require('ofe').call();
This will overwrite OnFatalError` to create a heapdump when your app fatally crashes.
HUGE props to bnoordhuis for his node-heapdump for all the actually important code.