martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

What should path_mapping look like? #102

Open Arduinology opened 10 years ago

Arduinology commented 10 years ago

I have a remote server (it is a Vagrant system running Ubunut). My Host OS is Ubuntu as well.

What should me path_mapping key value pair look like?

In README.md you have

Xdebug.sublime-settings

{
    "path_mapping": {
        "/absolute/path/to/file/on/server" : "/absolute/path/to/file/on/computer",
        "/var/www/htdocs/example/" : "C:/git/websites/example/"
    },
    "url": "http://your.web.server/index.php",
    "super_globals": true,
    "close_on_stop": true
}

How would you recommend mapping the remote server locally? Do you recommend SSHFS (http://fuse.sourceforge.net/sshfs.html) or some other tool, does it matter?