I'm trying to use Atom Editor to remote debug a vagrant machine.
I found https://atom.io/packages/node-debugger and was able to run it but I cannot find how to do 'source path mapping', therefore the breakpoints are ignored.
I run the app on vagrant machine node --debug-brk bin/www
in Atom I do attach
Atom open a file on the vagrant machine /vagrant/mean/bin/www instead of the local www file.
When I do the same in WebStorm I am able to do path mapping of the vagrant path to the local path.
I'm trying to use Atom Editor to remote debug a vagrant machine.
I found https://atom.io/packages/node-debugger and was able to run it but I cannot find how to do 'source path mapping', therefore the breakpoints are ignored.
I run the app on vagrant machine node --debug-brk bin/www
in Atom I do attach
Atom open a file on the vagrant machine /vagrant/mean/bin/www instead of the local www file.
When I do the same in WebStorm I am able to do path mapping of the vagrant path to the local path.
How do I do it in Atom?