Manual Path Mapping Not Working for Linux Paths Anymore

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Manual Path Mapping Not Working for Linux Paths Anymore

Postby Disclosure » February 5th, 2017, 9:08 pm

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.
You do not have the required permissions to view the files attached to this post.
Disclosure
 
Posts: 29
Joined: September 21st, 2015, 6:37 pm

Re: Manual Path Mapping Not Working for Linux Paths Anymore

Postby Miloslav Beno » February 7th, 2017, 5:23 pm

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!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Manual Path Mapping Not Working for Linux Paths Anymore

Postby Disclosure » February 15th, 2017, 3:31 pm

Thanks, Miroslav,

I have just checked it now, it works as expected, the mapping can be established and breakpoints are triggered.
Disclosure
 
Posts: 29
Joined: September 21st, 2015, 6:37 pm

Re: Manual Path Mapping Not Working for Linux Paths Anymore

Postby Miloslav Beno » February 15th, 2017, 6:15 pm

Perfect! Glad it works;-)

Have a great day!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 38 guests

cron

User Control Panel

Login

Who is online

In total there are 38 users online :: 0 registered, 0 hidden and 38 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 38 guests