Restore a node.js core dump to inspect

by Davra.io   Last Updated October 05, 2017 11:00 AM

I have an idea that just may work.

I am dumping my node process on error using --abort-on-uncaught-exception and using the great npm:autopsy package to interrogate the event and source.

I read somewhere that llnode could load a running node instance from core file made with gcore

My question.

How would I take a core dump (+ the node executable used to create it, this is need to read the core file) and load it as a running node instance with the flag --inspect-brk to attach the chrome debugger?

Thanks for any help!



Related Questions




PHP5-FPM Core Dumping due to some weird Zend error

Updated October 06, 2015 12:00 PM


PHP-FPM and continuos "exited on signal 11"

Updated October 26, 2017 14:00 PM