atom-node-debugger icon indicating copy to clipboard operation
atom-node-debugger copied to clipboard

Invalid debug command for node

Open alexandruantochi opened this issue 6 years ago • 4 comments

When starting the debugger with F5, the following error is given:

(node:1928) [DEP0062] DeprecationWarning: 'node --debug' and 'node --debug-brk' are invalid. Please use 'node --inspect' or 'node --inspect-brk' instead.

I get the same error when I try to start node directly from the terminal with the same commands.

node version: v8.9.4

alexandruantochi avatar Mar 11 '18 16:03 alexandruantochi

Node now has a new debugger, which uses a new protocol.

This package is not for you if you want to use node v6.3 +, however, the good news is that you can still use the new inspector using Google Chrome, which is really cool if you've worked with Chrome debugger before, or if not, it's a bit intimidating at first, but pretty fun to work with after some using to.

AbdelrahmanHafez avatar Mar 11 '18 17:03 AbdelrahmanHafez

duplicate of #234

mojoaxel avatar Apr 18 '18 20:04 mojoaxel

So this atom package won't be updated to work with newer node versions?

tiagosiebler avatar May 15 '18 14:05 tiagosiebler

Looks like xatom-debug-nodejs is a strong alternative

tiagosiebler avatar May 15 '18 14:05 tiagosiebler