Friday, September 10, 2010

Debugging Drupal with Eclipse on Mac OS

I have been developing with Drupal for a while now, but had neglected to setup my Eclipse development environment for debugging my Drupal site. I am running MAMP 1.9 locally for my development, so I started following the instructions on the Drupal site for Configuring Eclipse for Remote Debugging with Zend. That got me part of the way there… but not fully there.

I ended up relying on the following articles and video to finally get it all working.

The key takeaways for getting this working were to download the Eclipse PDT and watch out for the superfluous zend_extension setting in the php.ini file.

Now that I am able to debug my Drupal site, my module development just got a whole lot easier!