6

I'm trying to setup a node.js project with netbeans, and everything seemed to go well and as documented until i wanted to try out the debugger... After a while of googling i found a not responded to post on the Netbeans forums:

https://forums.netbeans.org/topic67911.html

This is exactly the problem i am having as well.

Does anybody have some information or a workaround or any way to make the debugger work?

Izelude
  • 59
  • 4
  • I am experiencing a similar issue - when I try to debug Node 8.9.3 in Netbeans 8.2 (patch 2), I get the following error: `(node:1935) [DEP0062] DeprecationWarning: 'node --debug' and 'node --debug-brk' are invalid. Please use 'node --inspect' or 'node --inspect-brk' instead.` Is it possible to somehow change the command Netbeans uses to launch the debugger? – Jess the Mess Dec 10 '17 at 22:29
  • Yep that's the same i was getting, tried to find where to change the command but couldn't find it. – Izelude Dec 11 '17 at 22:44
  • I've created a wrapper Batch Script to replace the calling argument --debug-brk with --inspect-brk, without success ... – powerpete Mar 15 '18 at 13:32

1 Answers1

1

Netbeans 8.2 only supports the now deprecated V8 debugging protocol. Details here:- https://nodejs.org/en/docs/guides/debugging-getting-started/#legacy-debugger.

Node v7 is the last version to support V8 debugging. Downloads: https://nodejs.org/download/release/v7.10.1/

DaveL
  • 11
  • 2