Hacker News new | past | comments | ask | show | jobs | submit login

As somebody else pointed out, —inspect or —inspect-brk is what you’re after.

In VsCode you can also use the “open JavaScript debug terminal” command: it opens a terminal in which any node command automatically starts with a debugger attached




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: