xdebug problems - VS 2012 remote to linux apache2
3 posts
• Page 1 of 1
xdebug problems - VS 2012 remote to linux apache2
Hello. I'm trying to get remote debugging working with one of my linux boxes. I'm using Visual Studio 2012 as the debugger. I've successfully installed xdebug (linux) using the phpinfo output analyzer instructions. I've added the following lines to my php.ini (linux).
My startup options in vs seem to be correct. I press F5 and the correct page opens up and the system notification tells me it's waiting for XDEBUG enabled web requests.
The problem is that my breakpoint doesn't get hit. The same breakpoint does get hit when using the PHP built-in web server.
Btw, I'm using the default port 9000 and that is the setting in vs.
Please advise.
- Code: Select all
zend_extension=/usr/lib/php5/20100525/xdebug.so
[xdebug]
xdebug.remote_enable=on
xdebug.remote_host = “192.168.2.11″
xdebug.remote_port=9000
xdebug.remote_log="/var/log/xdebug.log"
xdebug.remote_handler=dbgp
xdebug.idekey="php-vs"
My startup options in vs seem to be correct. I press F5 and the correct page opens up and the system notification tells me it's waiting for XDEBUG enabled web requests.
The problem is that my breakpoint doesn't get hit. The same breakpoint does get hit when using the PHP built-in web server.
Btw, I'm using the default port 9000 and that is the setting in vs.
Please advise.
- alforno
- Posts: 4
- Joined: August 13th, 2013, 9:32 pm
Re: xdebug problems - VS 2012 remote to linux apache2
I'm getting good at answering my own support questions here.
The problem was that I had some weird double quote characters in the config file and also had to manually add port 9000 to my windows firewall.
This is awesome! PHP debugging! Back to work.
The problem was that I had some weird double quote characters in the config file and also had to manually add port 9000 to my windows firewall.
This is awesome! PHP debugging! Back to work.
- alforno
- Posts: 4
- Joined: August 13th, 2013, 9:32 pm
Re: xdebug problems - VS 2012 remote to linux apache2
Great! Glad you've solved it!:)
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 55 guests