kiddkai / atom-node-debugger

A Nodejs Debugger For Atom
MIT License
265 stars 75 forks source link

Invalid debug command for node #258

Open alexandruantochi opened 6 years ago

alexandruantochi commented 6 years ago

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

AbdelrahmanHafez commented 6 years ago

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.

mojoaxel commented 6 years ago

duplicate of #234

tiagosiebler commented 6 years ago

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

tiagosiebler commented 6 years ago

Looks like xatom-debug-nodejs is a strong alternative