1. Download and install Eclipse IDE(Indigo or later versions of Eclipse IDE), XAMPP.2. Install PDT on Eclipse. Refer http://wiki.eclipse.org/PDT/Installation for instructions.3. Install BitNami WordPress or Drupal or Joomla, or all of them on XAMP. Those can be installed easily on the XAMPP admin page, Applicaions.4. Download the xdebug dll file. This wizard will tell you the version of xdebug file you need http://xdebug.org/wizard.php5. Configure the php.ini file to use the xdebug dll downloaded from step 4.

a. Assume the XAMPP home is C:\xampp, put the xdebug dll file to C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dllb. Open C:\xampp\php\php.ini, and put the following at the end of the file. If those are already there, modify them to look like the below.

c. Restart Apache server on XAMPP’s admin panel.d. Go to XAMPP admin page, and then go to phpinfo(). Search for xdebug on the phpinfo page to make sure xdebug is installed. If you can see the above configuration on the phpinfo page, that means the xdebug was installed successfully.

6. Configure Eclipse PDT to use XDebug.

a. Create a new PHP project from a existing directory, for example, the Drupal installation directory, C:\xampp\apps\drupal\htdocsb. Window->Preference->PHP->Debug, make the settings like this

7. Install XDebug Helper on Chrome. Once this is installed, a bug will show up in the address bar. The color will be green when enabled, grey when disabled.8. Open the Drupal index.php in Eclipse, put a breakpoint next to a line of code, right click the file on the explorer, Debug As PHP Web Application.9. Make sure the bug is green in the address bar. Load the Drupal home page on Chrome, with BitNami Drupal installed, the link should be http://localhost/drupal/, and the page will not be loaded fully, it will stop at the breakpoint you put in Eclipse.Now we can start debugging in the Eclipse Debug mode.

10. If there are any issues, make sure the below are sound.

a. The ip address for xdebug.remote_host in the php.ini file is 127.0.0.1b. The Accept remote session (JIT) in Eclipse setting is localhostc. The xdebug.remote_port is matched up the Debug port in Eclipse, 9002d. The bug icon of the XDebug Helper in the Chrome address bar is enabled with green colore. Make sure the localhost is pointing to 127.0.0.1f. Try not to use any port numbers other than 80 for the web application, the default port number for Apache loacalhostg. Last advice, try to get the XDebug working with the simplest web application first, it could as simple as a php hello world page first.