Magento FirePHP extension

Featured Image

FirePHP is Firefox add-on that enables you to log to your Firebug Console, which makes it great debugging tool for any web developer. I’m using it, like it and can’t live without it for some time now ;) So here’s nicely packed Magento FirePHP extension, I believe you’ll be seeing it at Magento Connect in a while.

You can get it via file: or even better, use Magento FirePHP Extension on Magento Connect.

Since FirePHP is implemented in Zend Framework it’s really easy to use it with Magento, my friend Branko wrote about it before.

Download FirePHP from its homepage You must have Firebug installed and the “Net” panel enabled to use it, and Firefox of course.

Extension needs to be enabled through Magento configuration and respects Allowed IPs option if used, which is great for tracing problems on live sites:

System->Configuration->Developer->Developer Client Restrictions->Allowed IPs

After you enable FirePHP in Magento configuration you can start using it simple as

Mage::helper(‘firephp’)->send(‘Lorem ipsum sit amet ..’);

Send function sends whatever you throw in it, while debug checks for Varien_Object instance and sends Varien_Object->debug() to console. If you’re dumping usual Magento objects, be sure to use debug.

We’re looking forward new FirePHP 1.0 announced for this year !!

0.0.3 – license change, Magento Connect release
0.0.2 – fixed compatibility problem in 1.3.2.x versions
0.0.1 – initial release


Care to rate this post?


Ivan Weiler

Technical Educator and Consultant

Ivan is a Technical Educator and Consultant. He gained lots of experience managing some of the most complex Magento projects we had at Inchoo.

Other posts from this author

Discussion 29 Comments

Add Comment
  1. sha

    I gotta say this man. if anyone owes or develops magento stores, then it is a must-see for him/her to visit your blog.

  2. evuska


    I think the same, FirePHP is fantastic, a great tool for any web developer.
    I’d like to use your extension but I get the error: “Response objects not initialized” Could you help me? thanks!

  3. Thanks for this post. However, I’m also having the same problem – “Response objects not initialized”

  4. @evuska,Alan M: Could you please check and comment on which Magento versions are you getting this error and from where (which file) are you calling Mage::helper(‘firephp’).

    I wrote this extension some time ago and I’ve been using it on all newer 1.3 versions, 1.4 version and even on last two Enterprise versions.

    Older versions won’t be supported, but I’ll correct all errors :)


  5. Magento CE

    I just called it randomly in a custom .phtml file that calls in new products to a sidebar in order to test it.

  6. I just updated to v.0.0.2. There shouldn’t be any problems in 1.3.2.x versions anymore.

    Thanks for the feedback !! Keep it coming ;)

  7. Cool – that’s great. Works like a charm :)

  8. evuska


    now it works right!!

  9. Dawa

    “Response objects not initialized”

    So ?

  10. Congratulations Ivan! I took a liberty and updated this post a little where I put a direct link to Magento Connect.

    Magento FirePHP Extension

  11. Skeuds

    Great extension :)

  12. Zmove


    I tried to install, strictly followed this tutorial. But when I put a :

    debug(‘Lorem ipsum sit amet ..’); ?>
    somewhere into my .phtml file (firephp enabled in admin). It doesn’t work.

    The only thing I didn’t do is the “Net Panel”, I don’t know what it is and I don’t know where to download it.

    Can you help me please ?

  13. Haroon

    I am new to this but still tried to use firephp with magento but no success it would be great if you can make a step by step tutorial, that will be very helpful

    Thanks Alot

  14. Awesome extension. Love your work Ivan.

  15. Devon

    THIS IS A GREAT PLUGIN! However, every time I try to look at a Varien object in Magento (when I call $this) Firefox stops responding and crashes with it saying that the javascript isn’t responding. I am running Magento 1.3.3 and the latest version of this plugin.

    Thanks for all your hard work!

  16. Devon

    FYI this only happens when I try to pull up the object in the full array viewer NOT when I look at it in the console

  17. Elson

    I found that the extension can not run properly in observer class

  18. I can’t see it in the admin….
    Please advise

  19. capnhud

    Has this been updated for firephp 1.0 yet

  20. Alex

    Goddamn I love this extension!

  21. krifur

    Hi, I try to install firephp with Magento connect
    and i ve got this error (I’m using

    community/Inchoo_Developer: No releases for 'Inchoo_Developer', skipping

    Do i miss something ?
    I’m new on magento but really great site so far !

  22. arve

    Any update for 1.5.x ? Can’t get it to run. :(

  23. Skeuds


    For me it works perfectly on Magento CE 1.5.1.

    You can install it manually without Magento connect. You can dowload the extension directly at :


  24. arve

    Thanks, did that but apparently after activating the .net panel I had to restart Firefox. Now it works.

  25. I’m getting a 500 Internal Server Error on Model/Client.php file
    saying can’t find class ‘Mage’

    Any Ideas what might be the problem?

  26. Zac

    Thanks, this looks good! I am able to “Hello world” but can someone provide more example of using it with firebug please? Anything… for example how would one control styling of console (error, warning, etc..). Can I rely on firephp documentation for the logging statements or is this totally different?

  27. Shiv Kumar

    Thanks, very good extension.
    i want to upgrade it for magneto 1.7. Please help

  28. pbuzzell

    Great plugin. Installed in seconds on 1.7. Exceedingly superior to alternative debug solutions. Would love to contribute to development of the plugin if you have any interest.

  29. Got the above installed on Magento Working perfectly. great plugin. Thanks.

Add Your Comment

Please wrap all source codes with [code][/code] tags.