Komodo and Drupal

Well, I had a much better blog entry for this but my browser crashed before I had a chance to submit. So here is my brief link list for help with setting up Komodo for use in debugging and developing in Drupal.

short video Debugging Drupal with Komodo IDE

Firefox Xdebug add-on

Komodo Drupal syntax addon (untested)

Good Drupal.org Thread

Free PHP IDE - Codelobster PHP Edition

I recommend Free PHP IDE - Codelobster PHP Edition
It has special plug-in for Drupal development: module wizard, autocomplete, Drupal help etc.

Many thanks for the links.

Many thanks for the links. Besides, there are a lot of video tutorials which explain a lot of details about working in Komodo. I found this one very helpful http://www.tubestime.com/watch/create-a-drupal-project-in-komodo-edit at the first stage of work.

Thanks for the links!

Thanks for the links Ryan. Looking through all of that, plus a few others, I took the dive. And in no time, I had it all working with Komodo IDE. Here's my simplified process that "just worked" for me.

How I got XDebug working with Komodo


This is only for a local install, local development. But the Komodo docs seem pretty good for getting it running on a remote server too.

  • (I’m using MAMP from mamp.info)
  • Start with Komodo
  • Prefs -> Languages -> PHP -> Debugger config Wizard
  • Choose PHP Installation: /Applications/MAMP/bin/php5/bin/php
  • Choose PHP INI directory
    • to be copied: /Applications/MAMP/conf/php5/php.ini
    • make dir “debug” in /Applications/MAMP/conf/php5/debug
    • put debug version at: /Applications/MAMP/conf/php5/debug
  • Use this extension directory: /Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/
    • you might have to remove the trailing slash, to get past this page !!!

Now it is configured for IDE initiated debugging.

To allow the browser to initiate a debugging session:

  • back up the original php.ini file
  • copy /Applications/MAMP/conf/php5/debug/php.ini to /Applications/MAMP/conf/php5/php.ini
  • restart apache
  • In Komodo prefs, set Debugger -> Connection to port 9000.
  • initiate from the browser like this:
    • http://localhost/?XDEBUGSESSIONSTART=komodo
    • http://drupal52dev2/?XDEBUGSESSIONSTART=komodo
    • or with the xdebug firefox extension


Most of you good people can probably figure this out anyway, but I entered something wrong. Those last two links should be:

They got italicized because I used markdown to add the markup, and didn't look at what it did very closely.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent automated spam submissions.
By submitting this form, you accept the Mollom privacy policy.