Remote Debugging tries to find incorrect file
3 posts
• Page 1 of 1
Remote Debugging tries to find incorrect file
I'm trying to evaluate your plugin on VS2010 for remote debugging but I'm running into problems.
I'm trying to remote debug a local VM running CentOS 6.4 with PHP 5.3. I have configured XDebug correctly since I can connect to and publish my project and I can see it connected successfully through the log files. I then ran a simple test by adding a test.php file with phpinfo and setting a breakpoint on that line. When I start to debug and the files have been published to the VM, for some reason Visual Studio starts to look for a file named 'p' on my local machine (in the root of the source directory) and the breakpoint never gets hit. I get the 'No Source Available' tab.
I followed the instructions on your site on how to remote debug, I configured my project correctly with the right URL, and it works because my browser launches to the correct URL. The only different setting I have is that under the 'Start Action' section of the Project configuration I selected 'Specific Page' and entered test.php. This shouldn't be an issue though, should it?
EDIT: I forgot to mention that the php versions are different, in my local Windows machine I'm using php 5.5.14, but the local VM is using php 5.3.3. I don't have Apache installed in my Windows machine, I just downloaded the PHP binaries and set the path in Visual Studio.
I'm trying to remote debug a local VM running CentOS 6.4 with PHP 5.3. I have configured XDebug correctly since I can connect to and publish my project and I can see it connected successfully through the log files. I then ran a simple test by adding a test.php file with phpinfo and setting a breakpoint on that line. When I start to debug and the files have been published to the VM, for some reason Visual Studio starts to look for a file named 'p' on my local machine (in the root of the source directory) and the breakpoint never gets hit. I get the 'No Source Available' tab.
I followed the instructions on your site on how to remote debug, I configured my project correctly with the right URL, and it works because my browser launches to the correct URL. The only different setting I have is that under the 'Start Action' section of the Project configuration I selected 'Specific Page' and entered test.php. This shouldn't be an issue though, should it?
EDIT: I forgot to mention that the php versions are different, in my local Windows machine I'm using php 5.5.14, but the local VM is using php 5.3.3. I don't have Apache installed in my Windows machine, I just downloaded the PHP binaries and set the path in Visual Studio.
- jcuello
- Posts: 3
- Joined: April 24th, 2013, 3:26 pm
Re: Remote Debugging tries to find incorrect file
Found the solution here:
viewtopic.php?f=21&t=1016
They should update the file from the Extensions installer in Visual Studio.
viewtopic.php?f=21&t=1016
They should update the file from the Extensions installer in Visual Studio.
- jcuello
- Posts: 3
- Joined: April 24th, 2013, 3:26 pm
Re: Remote Debugging tries to find incorrect file
Thank you for your feedback! And I'm glad the fix works for you too. There is going to be an official update today.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 39 guests