Configuring Magento for Development / Debug Mode:
1. Disable Cache
System > Cache Management > Select All [check-boxes] > Actions = Disable > Submit
2. Re-Index All
System > Index Management > Select All [check-boxes] > Actions = Reindex Data > Submit
3. Disable Compilation
System > Tools > Compilation > Disable
Note: By default compilation mode is disabled. So just check if the Compiler Status is Enabled or not.
4. Turn on Error Reporting
a> Open index.php and un-comment the following line
#ini_set('display_errors', 1);
b> Open .htaccess and add the following line at the end
SetEnv MAGE_IS_DEVELOPER_MODE "true"
5. Turn on Logging
System > Configuration > Advanced > Developer > Log Settings > Enabled => Yes
6. Configuring Mangeto Error Page
rename errors/local.xml.sample to errors/local.xml
7. Install ‘Easy Template Path Hints’
Install Easy Template Path Hints for turning on/off the template path hints for frontend and backend easily & securely.
That’s all. Let me know for any missing points.
Happy Debugging!
Hello, nice checklist.
You can also enable sql query log. Go to lib/Varien/Db/Adapter/Pdo/Mysql.php and set properties
$_debug = true; and $_logAllQueries = true;. Queries will be stored in var/debug/pdo_mysql.log by default.
Thanks. 🙂
It is amazing. I have seen this article; it is giving good knowledge about it. If anyone wants to learn about it, they can gain knowledge through this article.
WordPress Development Company
nice sites Glad to be helpful
Wonderful blog & good post. It is really helpful for me, awaiting for more new post. Keep Blogging ! White Hat World 😉
Great information, nice and easy explanation. Thanks for sharing it!
I’m using magento debugger as chrome extension, please see https://chrome.google.com/webstore/detail/magento-debugger/piigpibjgndilkembbkpnahbobcdjkpb or http://w3site.org/magento_debugger/
This is Great post… useful information. great Thanks..
http://evincetech.com/magento-customisation
This is helpful, thank you.
Ecommerce Website Developement Company in Chennai
Ecommerce Website Development Company in Chennai
…
Mage::setIsDeveloperMode(true);
…