babel-node-debug
babel-node-debug copied to clipboard
babel-node-debug blocks 5858 port and --debug option
Hi. Can you explain me how to run babel-node-debug
together with --debug
mode?
babel-node-debug index.js
It shows: Debugger listening on port 5858
, therefore I'm not allowed to run
nodemon --exec babel-node --debug index.js
Because the port 5858 is listened by some strange process.
I can run application without debug:
nodemon --exec babel-node index.js
but then node-inspector doesn't work at all. http://127.0.0.1:8080/?port=5858 shows me only index.js and no other application files.
I only managed to see all files when I ran nodemon --debug ...
before babel-node-debug...
.
But it works only once. After first code correction my nodemon
fails because of port conflict.
Is there any option to disable babel-node-debug
affecting on --debug
option?
Thanks in advance