@exodo said:
ps aux | grep node
Hi! Thanks for your reply. I've checked again the port usage according your suggestion and before running the webstorm debugger, 0 node instances are running.
After i run the debugger and obtain the EADDRINUSE error, 2 node processes appear:
jose 3147 73.3 4.6 1768556 178156 ? Sl 19:58 0:52 /usr/bin/node --debug-brk=49749 --nolazy --debug app.js
jose 3185 1.1 0.5 686968 19812 ? Sl 19:59 0:00 /usr/bin/nodejs --debug-brk=49749 --nolazy --debug minifier.js
If i kill, in this example pids 3147 and 3185 and run the debugger again, same result. Always obtaining the mentioned EADDRINUSE.
As i said, i can run nodebb without any problem from webstorm, without debugging.
Thanks for your time.
EDIT: I've tried with a simple node.js/express/mongo app, (https://github.com/ijason/NodeJS-Sample-App) and i can debg it without a problem. Could it be something related with nodebb? Does anyone debug nodebb with webstorm succesfully? @3rd-Party-Developers ?