atom-node-debugger icon indicating copy to clipboard operation
atom-node-debugger copied to clipboard

Atom Editor nodejs remote debug vagrant - path mapping

Open eliaweiss opened this issue 8 years ago • 0 comments

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?

eliaweiss avatar Jan 22 '18 06:01 eliaweiss