Hacker News new | ask | show | jobs
by aicioara 2796 days ago
I'll just add my favourite debug flag for NodeJS, which I argue should be the default behavior.

    node --trace-warnings main.js
This will show error traces for uncaught exceptions that happened inside promises.

Life saving for me.