Capture stack trace in node.js