How to configure Xdebug for local apache server?
Posted May 2nd, 2008 by yaniv
Hello,
I cannot find any documentation that describes how to setup xdebug to debug on a local apache installation.
I am using VS2005 and VS.php 2.4 (soon I will upgrade to VS2008)
Here is what I've done:
In the debug property for the project:
php.ini path = C:\php\php.ini
Apache port number = 80
Apache configuration template = C:\Program Files\Apache Group\Apache2\conf\httpd.conf
Debug client port number = 7870
I've tried both built in and external debug modes, as well as various other combinations of options. No matter what I do, no breakpoints are hit on any of my code.
This works fine and easily on Eclipse, and that is a free product. Where is the documentation on how to do this with VS.php? Does anyone know how?


If you are using the
If you are using the built-in engine, there is nothing you need to configure.
If you still have issues with breakpoints, try this build:
http://www.jcxsoftware.com/jcx/vsphp/beta
Thanks