Configure PHP with Xdebug and get it working in phpDesigner 7

Requirements

How to

Download the latest version of PHP and Xdebug. If you have PHP 5.3 VC9 you will need the Xdebug 5.3 VC9. Now move Xdebug to the Ext folder in PHP and rename it to php_xdebug.dll

Open file php.ini located in PHP and enter in:

[XDebug]
zend_extension="./ext/php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.dump.*
xdebug.profiler_output_dir=C:\ProgramData\Application Data\phpDesigner\XDebugCache
;xdebug.profiler_output_dir="./tmp/"

Start phpDesigner 7 and go to the menu Tools > Preferences > Debugger. In PHP Interpreter, select php-cgi.exe in PHP and in Configuration File, select php.ini in PHP. Repeat these steps under Debugger > Run.

Tip

You can see if PHP is working with Xdebug, simply create a new file with the following content:

<?php
  phpinfo();
?>

Save the file and run/debug it. If you see Xdebug, everything is fine and you're done!