Debug Magento Code

For Debug

we have to use

Zend_Debug::dump() function.

Here is Example;

Zend_Debug::dump(

            Mage::getModel('Catalog/Product')

        );

Nikunj K

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.