Page 1 of 1

Manual Path Mapping Not Working for Linux Paths Anymore

PostPosted: February 5th, 2017, 9:08 pm
by Disclosure
I needed to use xdebug in the current 1.22 Php Tools today to do some troubleshooting and that did not go well. I am using a webserver in a Linux virtual machine using shared folder to sync the files and so far it has worked well with xdebug, just some fiddling with path mapping was required.

It did not go so smooth today, however, when I was trying to set the file path for the remote server I got the following error:

Clipboard Image.png


After some messing around it seems that it expects a windows path in the server, however that naturally is not going to work for a linux server. This feature worked fine with linux servers previously.

Re: Manual Path Mapping Not Working for Linux Paths Anymore

PostPosted: February 7th, 2017, 5:23 pm
by Miloslav Beno
Hello,

Thanks for the feedback.

You can download latest preview http://pub.devsense.com/phptools/PhpTools.1.23.9585.msi, which is not official yet, but it should solve the issue you are having.

Just a note, please remove first / in the File/Directory column, it wouldn't work :-)

Thanks!

Re: Manual Path Mapping Not Working for Linux Paths Anymore

PostPosted: February 15th, 2017, 3:31 pm
by Disclosure
Thanks, Miroslav,

I have just checked it now, it works as expected, the mapping can be established and breakpoints are triggered.

Re: Manual Path Mapping Not Working for Linux Paths Anymore

PostPosted: February 15th, 2017, 6:15 pm
by Miloslav Beno
Perfect! Glad it works;-)

Have a great day!