node-supervisor icon indicating copy to clipboard operation
node-supervisor copied to clipboard

Does not work with node 7

Open gordysc opened this issue 7 years ago • 3 comments

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.

gordysc avatar Apr 17 '17 17:04 gordysc

+1

petrovi4 avatar May 23 '17 02:05 petrovi4

You can cheat it by using supervisor like this supervisor -w src -- --inspect=0.0.0.0:5432 src/index.js

JSteunou avatar Sep 05 '18 14:09 JSteunou

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!

yialo avatar Sep 10 '19 12:09 yialo