netbeans-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geertjan Wielenga <>
Subject Re: Debugging Node.js
Date Tue, 05 Mar 2019 18:10:17 GMT
Hi Jess,

And welcome! Yes, someone else reported the same. On GitHub you’ll find the
relevant code in the webcommon folder, or someone else will point you to
the right spot, or I will in a few hours when I get back to my laptop.


On Tuesday, March 5, 2019, Jessica Ryan <> wrote:

> Hiya folks,
> I have a node.js project in Netbeans and would like to debug it.  When I
> launch via the debug button, I get the following message on the console,
> and then a few seconds later, I get the following error.
> Console:
> "/bin/bash" "-lc" "\"/usr/local/bin/node\" \"--debug-brk=9292\"
> \"/Users/jryan/JDev/SVN/trunk/Node/CollaborationServer/src/server.js\""
> Done.
> (node:977) [DEP0062] DeprecationWarning: `node --debug` and `node
> --debug-brk` are invalid. Please use `node --inspect` or `node
> --inspect-brk` instead.
> Then the following message in a dialog:
> Cannot run debugger.  Reason:
> Connection refused (Connection refused)
> It seems like Netbeans needs to update its debug command for current
> versions of node.js?
> Can anyone point me toward how I can update my local copy of Netbeans
> (I’ve built from from the 10.0 source) to fix this issue, that’d be swell!
> -Jess

View raw message