martomo / SublimeTextXdebug

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

path_mapping does not support raw network paths in Windows (Samba) #130

Closed avindra closed 5 years ago

avindra commented 9 years ago

This is an issue:

"path_mapping": {
    "/app/myapp/ui" : "\\\\myserver\\\\sambashare\\\\ui"
},

That path mapping does not work. And here is the workaround: mount your folder to a share with a drive letter:

"path_mapping": {
    "/app/myapp/ui" : "D:/ui"
},

Would it be difficult to add native support for un-mounted paths?

zephster commented 9 years ago

Apply the patch in this pull request, that made UNC paths work for me.

Weird, though, that mounting the share to a drive letter works for you. It doesn't for me, and the only thing that did work was applying that patch and using the UNC path, which sucks because the SublimeText Git plugin doesn't work with UNC (well, to be more specific, it's Windows' cmd.exe that doesn't support UNC), so I can use either the Xdebug or Git plugins but not both.

avindra commented 5 years ago

@zephster thanks, that pr https://github.com/martomo/SublimeTextXdebug/pull/119 looks like it does it.

seems a fork is underway https://github.com/ryanpcmcquen/SublimeTextXdebugPlus as the maintainer hasnt responded here