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

>node-inspect has been integrated directly into the Node.js runtime

Is node-inspect the same thing as node-inspector or something else?




Disclaimer: Author of `node-inspect`

No, `node inspect` is the new command line debugger for `node --inspect` which replaces `node debug` for `node --debug`. The name is derived from `node --inspect` and has no relation to `node-inspector`.


Thanks for your work! CLI has always been my primary method of debugging node, and I'd hate to see it go away.

Is this pretty much identical to the old debugger?


Yep, the same commands should still work. There's some additional commands now for CPU/memory profiles. But that's the biggest difference - hopefully.


when you run something you, can add the --inspect flag to debug.

1. node --inspect app.js 2. In chrome do `about:inspect`

you now have debugger attached. WIN!




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

Search: