XDebug with IISExpress + PHP Tools for Visual Studio
iis-express, php, visual-studio-2012, xdebug
Solution
That was a minor issue with unicode characters in project path which was solved in the later update. Now it's just necesary to update PHP Tools. More details on this forum
Problem
I have the following setup: - Visual Studio 2012 with the extension PHP Tools for Visual Studio - PHP 5.3 - No IIS, using the integrated IIS Express server for debugging I have the following entries in my php.ini (full version on pastebin) ``` [XDEBUG] xdebug.remote_enable = on xdebug.remote_handler = dbgp xdebug.remote_host = localhost xdebug.remote_port = 9000 [PHP_XDEBUG-2.2.1-5.3-VC9-NTS] [PHP_XDEBUG-2.2.1-5.3-VC9-NTS] zend_extension="C:\P(...)es (x86)\PHP\v5.3\ext\php_xdebug-2.2.1-5.3-vc9-nts.dll" ``` I have configured PHP Tools to use port 9000 for debugging. On the XDebug home page I submitted my phpinfo() output and it said there that things were set up correctly. However, when I try to debug in Visual Studio, nothing happens, i.e. the php file I want to debug loads in the browser without breaking on my breakpoint. This is the url that I try to debug: ``` http://localhost:16472/index.php?XDEBUG_SESSION_START=1 ``` Is there anything special that needs to be done in order for xdebug to work with IIS Express? Or do I have to install IIS or Apache on the computer to get things going?