When you encounter some un-handled exception and you don't know the reason, you would enter the error message to URL bar of your browser. This npm package module does it automatically.
require('ask-on-exception');
var a;
console.log(a.foo); // Error! No member 'foo' for undefined.
Note: I had been inspired by this tweet and created this package.
Distributed under MIT License