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.
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 !!
From See World, post Magento FirePHP extension
Related Posts
- How to solve Magento Magento ERROR
- The Way To Sort Regions Address In Magento
- Magento Feature: Merge JavaScript Files
- Magento – Get the Total Price of items currently in the Cart
- How to use use Magento getSingleton method
- Magento Converting Currency From One to Another
- How to get all active magento payment modules
- Magento 1.4.0.1 localhost login issue
- Magento Get a Product’s Name instead Product ID
- How to create a shopping cart price rule using Magento methods?