Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use the debugger from Chrome dev tools to debug Node.js. Just run node with the `—-inspect-brk` flag, open `about://inspect` in Chrome, and select your app under remote targets. This has saved me tons of debugging time. See also: https://nodejs.org/en/docs/guides/debugging-getting-started/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: