xdebug problems - VS 2012 remote to linux apache2
Posted: August 13th, 2013, 11:39 pm
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.