I just read this Netflix blog post - I read it perfectly. I played a little with the mentioned tools, etc. especially with the generation of core dumps on uncaught exceptions by setting the --abort-on-uncaught-exception flag. It is also described here . I think it still works with a simple script test (which does nothing but an error), as I see this output:
Uncaught Error: foo FROM run (/tmp/test/index.js:4:9) wrapper [as _onTimeout] (timers.js:265:14) Timer.listOnTimeout (timers.js:110:15) [1] 18165 illegal hardware instruction (core dumped) node --abort-on-uncaught-exception index.js
However, it seems to me that I'm too stupid to find the actual core dump file that this experiment (?) Should produce. I looked at /var/cores/ and /opt/cores/ , which were mentioned somewhere on the Internet, but these directories do not exist. The quick find / -name core -type f also did not bring anything useful. What am I missing?
EDIT: node version v0.12.0.
source share