I use node inspect on my js.file but always get:
Timeout (2000) waiting for 127.0.0.1:9229 to be free
I've tried this solution https://github.com/nodejs/node-inspect/issues/48, but had no success. I use only CLI, it's cmder for Windows, if that matters. Node version is v10.16.3. I've ran
netstat -ano | findstr :9229
to find out how's keeping the port busy nd kill it by PID, but got no results. Any suggestions?
The problem you are facing has been fixed in the
node-inspectpackage, but this fix has not yet been added to your version of Node.js. Then, to solve this problem, you can use thenode-inspectpackage separately. First you need to install it:After that you can use this module:
Hope this solution helps you.