kiddkai / atom-node-debugger

A Nodejs Debugger For Atom
MIT License
265 stars 75 forks source link

Atom Editor nodejs remote debug vagrant - path mapping #253

Open eliaweiss opened 6 years ago

eliaweiss commented 6 years ago

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?