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: magento-firephp-0.3.zip 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 www.firephp.org. 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->Debug->FirePHP
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 ..’);
Mage::helper(‘firephp’)->debug(Mage::getModel(‘catalog/product’)->load(54));
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 !!
Updated
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






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.
Hi,
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!
Thanks for this post. However, I’m also having the same problem – “Response objects not initialized”
@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
Thanks
Magento CE 1.3.2.4
I just called it randomly in a custom .phtml file that calls in new products to a sidebar in order to test it.
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
Cool – that’s great. Works like a charm
Thankssssss!!
now it works right!!
+1
“Response objects not initialized”
So ?
Congratulations Ivan! I took a liberty and updated this post a little where I put a direct link to Magento Connect.
Magento FirePHP Extension
Great extension
Hello,
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 ?
hello,
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
Awesome extension. Love your work Ivan.
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!
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
I found that the extension can not run properly in observer class
I can’t see it in the admin….
Please advise
Has this been updated for firephp 1.0 yet
Goddamn I love this extension!
Hi, I try to install firephp with Magento connect
and i ve got this error (I’m using 1.5.0.1):
Do i miss something ?
I’m new on magento but really great site so far !
Any update for 1.5.x ? Can’t get it to run.
Hi,
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 :
http://connect.magentocommerce.com/community/get/Inchoo_Developer-0.0.3.tgz
Thanks, did that but apparently after activating the .net panel I had to restart Firefox. Now it works.
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?
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?
Hi,
Thanks, very good extension.
i want to upgrade it for magneto 1.7. Please help
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.
Got the above magento-firephp-0.3.zip installed on Magento 1.7.0.2. Working perfectly. great plugin. Thanks.