Answer the question
In order to leave comments, you need to log in
Debugging node.JS in a virtual machine, how?
The NodeJS project is in a virtual machine. I start a node process with the flag --debug
. Then he telnet localhost 5858
happily informs me that the debugger is working here.
But when executing the command on the local machine, telnet <vm_ip_address> 5858
I get connection refused.
Attempts to forward the port through the configuration Vagrantfile
By adding the line
config.vm.network :forwarded_port, guest: 5858, host: 5858
led to nothing. How to be?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question