XDebug, Komodo, and the Acquia Drupal Stack Installer

The Acquia Drupal Stack installer for Mac OS X 10.6 (Snow Leopard) has been released, and it’s pretty cool (works on 10.5 Leopard, too, of course). I’m now using it as my primary development environment, replacing MAMP. In this article I show how you can configure the stack installer to use XDebug for step through debugging. I do so using Komodo IDE, but the steps I follow will help you with Eclipse or any other IDE that supports XDebug. I also install a Firefox plugin called XDebug Helper that makes the whole debugging experience smoothe and sweet.
Related Content
AcquiaBlog

2010 has been an inflection point for the Acquia partner program. We are doing more business than ever with partners, including case studies with Palantir.net, Blink Reaction, and IBM Global Services.
Bryan House
It is that phase of my life! I'm just turning 30 in a month, working with Drupal for 7 years and just had my third Acquia anniversary a week ago. Time to look back and evaluate how things went, all the good and bad things; even better if the wisdom can be shared with others. This was part of my thinking when I submitted the session titled "Come for the software, stay for the community" for Drupalcon Copenhagen.
Gábor Hojtsy
It sounded like a really simple request: "Is it easy to add a search filter for 'My posts'?". In other words, add a search result facet for posts by the current (logged in) user through the Apache Solr Search Integration module APIs?
But then the wheels start turning - we want not just one blind link, but a real facet link that tells us how many results we'll get. Also, if we are filtering by 'My posts' then we probably have an equal use case for the opposite filter 'Posts not by me'. So we really need a facet block with two links and facets counts.
Peter Wolanin







Comments
Caleb Gilbert
Killer! Getting Komodo
Killer! Getting Komodo debugging working is what has been my holdup from switching from MAMP to DAMP.
And fyi, Snow Leopard is Mac OS X 10.6 not 10.5 as mentioned at the top of the article. Am assuming that is a typo and that DAMP is now 10.5 (Leopard) and 10.6 (Snow Leopard) compatible?
Robert Douglass
Fixed (clarified) the Mac OS
Fixed (clarified) the Mac OS X version detail. The stack works on both Leopard and Snow Leopard.
Robert Douglass
Senior Drupal Advisor, Acquia
Chris Shattuck
Thanks for tweeting this,
Thanks for tweeting this, guys, it might be the thing that gets me to actually try the Stack installer!
Cheers,
Chris
How do we get this working
How do we get this working with the Windows version of DAMP, Komodo and XDebug?
Komodo doesn't seem to like the php exe bundled with the DAMP installer.
Thanks in advance.
Robert Douglass
Dan, I noticed this too. I
Dan, I noticed this too. I realized after I wrote the article that I still had Komodo pointing to the MAMP php executable. I don't have a solution for this as I don't know why Komodo won't accept the DAMP php executable.
Robert Douglass
Senior Drupal Advisor, Acquia