views:

17

answers:

0

I'm trying to set up a simple PHP debugging environment on a Windows box at work and have been following various suggestions and tutorials online for using XAMPP, Eclipse, and XDebug. php_info() tells me that XDebug is set up and ready to go, and the only thing I had to change in the Apache setup in XAMPP was the port (it's now set to 8080). XDebug appears to be listening on 9000, Apache on 8080, and both of those are set in Eclipse. However, when I try to run a debug session on a simple 1-page test project, Apache returns a 404 error. This is the URL Eclipse generates:

http://localhost:8080/Minimal/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12863849698322

Getting rid of Minimal/ (which is the test project name) or switching to other ports (9000, even 80 just to see if I'm going crazy because I know IIS is on that one) doesn't resolve the issue.

I'm very new to Eclipse and doing any kind of PHP debugging on Windows, so maybe I'm overlooking something obvious. Does anybody have any suggestions?

EDIT: My bad, I forgot to add the Alias for the project in Apache's config. I guess I've grown too accustomed to Visual Studio's built-in web server for debugging :) However, as it stands now it's hitting the page but not stopping at any break points. So not 100% there yet...