newer versions of node.js has it's own in-built inspector, so I started the debugger withnode --inspect --debug-brk src/app.jsThis gives me the link of inspector, like:chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9229/22d2b6f4-ec33-493f-b7d1-91bc8b1949f1iProblem is, when I every small change, I have to restart the server, get the link for the inspector again. So I started using nodemon.I installed it succesfully, but whenever I triy to start it with nodemon --debug src/app.js it saysnodemon --debug is deprecated, please use node --inspect and [nodemon] app crashed - waiting for file changes before starting..., so I used node --inspect src/app.js and it gave me Starting inspector on 127.0.0.1:9229 failed: address already in use.I'm not sure how to make nodemon work, any ideas?
Submitted May 03, 2017 at 03:36AM by badboyzpwns
No comments:
Post a Comment