How to add Xdebug to your development environment

Recall this site when installing the Eclipse PDT?  Well, let's go back and click on the link for 'PDT and XDebug', which will take us to http://xdebug.org/.  Once there, we will go to the page which deals with 'obtaining' the Xdebug.dll file needed for this demonstration project.



Now that we're at the xdebug site, let's focus on obtaining the Xdebug dynamic link library that we'll need by clicking on where it says 'obtaining'.



This takes us to http://xdebug.org/download and shows us the following options.



Since we are dealing with the latest stable release, Xdebug 2.0.4, and the version that is thread-safe and is designed to work with PHP 5.2 (in our case, PHP 5.2.8), go ahead and click on where it says 5.2 VC6.  This will download php_xdebug-2.0.4-5.2.8.dll.  To install this file so that it will work with your PHP setup, copy this file into the following directory: c:\wamp\bin\php\php5.2.8\ext\.

That's all you've got to do!  Well, actually we have to let our PHP setup know the location of this file, but that's easy enough and we will take care of that detail when we get to configuring the configuration files, specifically php.ini.

Your PHP setup should look like this:



After modifications are made to the appropriate php.ini file, you should be able to confirm that this debugger is functioning within your WampServer 2 platform. 



About Kipp Elliott Watson

Kipp Elliott Watson is a Drupaler (Drupalista?) who lives in Northern New Jersey and subscribes enthusiastically to the principles that have helped broaden Drupal's community and have brought Drupal to the forefront of the CMS revolution.  He is occasionally available for Drupal projects and would love to hear from you if you need a Drupal consultant.  His resume can be viewed and downloaded here.  

If you would like to learn about the Ideal Drupal Development Environment, visit: http://sites.google.com/site/theidealdrupalenvironment/

If you would like to add a Google Wave to a fresh Drupal installation, visit:

Drupal Developer for Hire

Looking to hire a Drupal Developer? Email me at Kipp period Watson at gmail period com. Just mention this website, so I'll know where you're coming from!