I am new to node.js and am trying to experiment with basic stuff.
My code is this
var http = require(\"http\"); http.createServer(function(request,
Print stacktrace of uncaught exceptions using following code.
process.on('uncaughtException', function( err ) { console.error(err.stack); });