kiddkai / atom-node-debugger

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

NodeJS "--debug" parameter is deprecated #234

Open jmaister opened 7 years ago

jmaister commented 7 years ago
(node:2624) DeprecationWarning: node --debug is deprecated. Please use node --inspect instead.
theantoniorocha commented 7 years ago

Ran into the same problem today.

oit63 commented 7 years ago

DeprecationWarning: node --debug and node --debug-brk are invalid. Please use node --inspect or node --inspect-brk instead.

axe-z commented 7 years ago

same here , never used this, but fixing the path , this is what I get, hard first run !

Redsandro commented 7 years ago

Can any of you get the debugger to work with Node 6.11? Even using --inspect, I can do breakpoints, but I cannot inspect any variables, as reported in issue https://github.com/kiddkai/atom-node-debugger/issues/237

vildmedtog commented 7 years ago

I'm using node v8.2.1 having the same prob. maybe line 56 in debugger.coffee needs to change to "--inspect-brk"? perhaps it shouldn't be hard coded in a future release :-)

Redsandro commented 7 years ago

I think it isn't that simple. Otherwise I'd be able to inspect values when changing the command line manually.

w0k3 commented 7 years ago

So the package is node v8 incompatible? Any news on this?

nitrocode commented 7 years ago

Yep I have the same issue. I tried changing line 56 but after reloading the app, it only loads up in chrome. I can't debug from within Atom using node 8 on osx.

tb01923 commented 6 years ago

Hi adding in a +1 on the issue and looking for a solution. I am new to Mac and Atom (new Job) so not sure how much I can add at this point other than I would like to be able to debug node 8 in atom. Any information (such as why this is an issue) would be appreciated. It is deeper than the command line option - right?

skywinder commented 6 years ago

+1 on Mac

yatishdang commented 6 years ago

Facing same issue !! Please share if anyone got solution .

chucky86boy commented 6 years ago

+1 on Mac using v8.9.3

AbdelrahmanHafez commented 6 years ago

+1 on Windows, using v8.9.3 Anyone found a solution?

AbdelrahmanHafez commented 6 years ago

So, one way to solve it, as @vildmedtog pointed out.

Go to your .atom directory, find packages\node-debugger\lib\debugger.coffee line 56, change --debug to --inspect.

That solved the issue for me.

Edit: This makes the error go away, but I don't seem to get the debugger itself working, I assume this is because the node-inspector uses Chrome websocket debugger, not the old debugging method. I suppose we'll need a new version of node-debugger after all.

Edit 2018-06-17: Not sure if this type of comments is welcome here, but this is a personal opinion, VSCode gives a much better debugging experience, and a generally better editing experience, it probably would be a good idea to use it until this is fixed.

relief-melone commented 6 years ago

Same issue here. No fix still?

nitrocode commented 6 years ago

@relief-melone Since I couldn't debug node 8 in atom, I use vscode and chrome dev tools now.

BeardedDonut commented 6 years ago

+1 on ubuntu 16.04 and Node v8

FrancisTurner commented 6 years ago

Any status on a fix? This issue renders the whole package worthless.

dhowe commented 6 years ago

Status??