Hi all, I need help getting xdebug to work when I am debugging a web project that is running locally on IIS7. It works fine when I create a "normal" web project, but when I go into VS and "Create New Website", no breakpoints are ever hit. In trying to fix this I added the following to php.ini:

zend_extension="C:\Program Files (x86)\Jcx.Software\VS.Php\2010\php 5.3\ext\php_xdebug.dll"

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[XDebug]
xdebug.idekey = vsphp
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 7870
xdebug.remote_autostart = 1

That got it working on regular projects. No idea how to get it set up to work on IIS7 though. Any suggestions are greatly appreciated.

Peace,
Will

juanc says:

You need the web.config as well.

willum070 says:

Thanks! You mean add my web.config to the XDEBUG parameters? Or add something to my web.config?

juanc says:

The web.config has the php fastcgi settings. If you create an IIS project in VS.Php you can see what the web.config file should look like.