ofe

v0.6.0
Overwrite OnFatalError to produce heapdump
On Fatal Error Fatal Error OnFatalError SetFatalErrorHandler

Here's how to use:

npm install ofe
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.

npm i ofe

Metadata

  • MIT
  • >=0.8.0
  • Trevor Norris
  • released 9/17/2020

Downloads

Maintainers