Node.js - Debugging and Profiling
You want to debug a Node.js app that crashes immediately on start. You run
node --inspect app.js and connect Chrome DevTools but can't find where it crashes. What should you do to catch the crash at the start?