3 ms·
>node-inspect has been integrated directly into the Node.js runtime Is node-inspect the same thing as node-inspector or something else?
by cheapsteak 9y ago
>node-inspect has been integrated directly into the Node.js runtime
Is node-inspect the same thing as node-inspector or something else?
- AngelloPozo 9y agowhen 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!
- jkrems 9y agoDisclaimer: 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`.
- nulagrithom 9y agoThanks 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?
- jkrems 9y agoYep, the same commands should still work. There's some additional commands now for CPU/memory profiles. But that's the biggest difference - hopefully.