I am trying to debug my code using node -inspector , but I get this error again and again in the terminal window
$ sudo sails debug
info: Running app in debug mode...
info: You probably want to install / run node-inspector to help with debugging!
info: https://github.com/node-inspector/node-inspector
info: ( to exit, type <CTRL>+<C> )
Error: listen EADDRINUSE
at exports._errnoException (util.js:746:11)
at Agent.Server._listen2 (net.js:1156:14)
at listen (net.js:1182:10)
at Agent.Server.listen (net.js:1267:5)
at Object.start (_debugger_agent.js:20:9)
at startup (node.js:86:9)
at node.js:814:3
To allow
Error: listening to EADDRINUSE
I tried to close another terminal window (in which my node inspector was running). I have already mentioned the answers to https://stackoverflow.com/a/2129609/2129/12912 , but they did not work I even tried to give this command the ability to kill processes:
$ killall -9 node
No matching processes belonging to you were found
but still not working. Someone please help me with this.
source
share