eriwen/javascript-stacktrace — Issue #29: Please add support for nodejs from command line
Author: krisnye
Created: 2011-10-22 18:06:41+00:00
State: open

Sorry, don't have the time at the moment to do an official pull request. I implemented nodejs support for stacktrace locally.

Code looks like this:

// identify nodejs runtime
if (global.process && global.process.title == 'node') {
return (this._mode = 'node');
} else

// get node stack trace
node: function(e) {
return e.stack.split('\n').slice(2);
},