How do I configure Apache for PHP debugging in Komodo?
Edit the php.ini file that Apache is using and add these values:
zend_extension_ts=c:\path\to\php_xdebug.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=1
To verify that this is configured properly, create a script called 'info.php' containing the code:
<?php phpinfo(); ?>
You should see the xdebug extension settings section near the bottom of the output.
Open up a browser window and point it at a PHP script on your local Apache,
but first append the XDEBUG_SESSION_START variable to the url:
http://localhost/index.php?XDEBUG_SESSION_START=1
A dialog-box should appear in Komodo announcing that a remote debug session has been
requested.