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.
- (Video) Configuring Eclipse for Drupal Module Development and Debugging on the Mac OS
- (Article) How to Configure Eclipse PDT with Zend Server Debugger on MAMP for Drupal
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!