node-crashreporter
Dump node context into a file on process crash, send it by mail
Based on crashreporter, update its mail sender module
Installing crashreporter
[sudo] npm install [-g] node-crashreporter
Usage
Basic
;
More
;
Advanced: send mail
See http://www.nodemailer.com/ for support
;
File
Name
crash_YYYY-MM-DD_HH-mm-ss_zzz_UTC.txt
Dump
Date time:
-----------------------
execPath:
-----------------------
argv:
-----------------------
current directory:
-----------------------
env:
-----------------------
gid:
-----------------------
uid:
-----------------------
pid:
-----------------------
process title:
-----------------------
uptime (sec):
-----------------------
arch: x
-----------------------
versions:
-----------------------
memory usage:
-----------------------
require.cache:
-----------------------
active handle:
-----------------------
active request:
-----------------------
stack