node-supervisor
node-supervisor copied to clipboard
Does not work with node 7
The debug flag has been deprecated in node 7. Also, it's now possible to pass [hostname]:[port] to the inspect flag. I'd like to propose a breaking change in the next major release to support this functionality.
+1
You can cheat it by using supervisor like this supervisor -w src -- --inspect=0.0.0.0:5432 src/index.js
You can cheat it by using supervisor like this
supervisor -w src -- --inspect=0.0.0.0:5432 src/index.js
It doesn't work for me. But I found another cheat that works:
supervisor --inspect --debug=127.0.0.1:5000 index.js
What is interesting the console exceptions about 'debug' deprecation is no at all in this case!