Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Invalid debug command for node #258

Open
alexandruantochi opened this issue Mar 11, 2018 · 4 comments
Open

Invalid debug command for node #258

alexandruantochi opened this issue Mar 11, 2018 · 4 comments

Comments

@alexandruantochi
Copy link

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
Copy link

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
Copy link

duplicate of #234

@tiagosiebler
Copy link

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

@tiagosiebler
Copy link

Looks like xatom-debug-nodejs is a strong alternative

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants