PHP technology doesn’t contain much debug tool with any editors or software there for it always recommended having a debug tool while developing a web application or ecommerce website and Magento still required such tool.
As per our research and experience, we found some useful tools for Magento Developer for debugging code while Magento eCommerce website development. There are 4 most used open source tools which can be utilized for debugging.
1. X-Debug – http://www.xdebug.org
X-Debug is a proven tool for debugging tool which can be utilized to make the application in proper format with bug-free development. It’s something like that if you start using this you will get addicted to its features, it’s a nice tool and tested successfully. Magento has vast and high-level modular structure so using X-debug you can easily debug your code and it will be the time-saving process for you, and you will see rapid development.
After installing and configuring this tool successfully with your system simply click on “Start To Listen For PHP Debug Connection” (PhpStorm), add a break point, “enable debugging” have X-debug chrome extension http://goo.gl/jWmKB on your chrome with extension in your browser and press refresh.
Read More – http://xdebug.org/docs/.
2. N98-magerun – https://github.com/netz98/n98-magerun
N98 – MAGERUN CLI TOOLS
N98 is a handy Open Source debug tool and known for its enriched features which can be utilized using the command line with Magento. This tool is automatically tested for multiple PHP variants (5.3, 5.4, 5.5). It can be utilized with different Linux distributions and Max OS, Microsoft Windows is not yet totally supported some commands which are only executed with Linux and Mac are not available with Windows platform like the dump, install, etc. Also, this tool partially works with Magento 2 branches.
Download it from – https://github.com/netz98/n98-magerun
Commands for downloading phar files:
wget https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar
If any issue with SSL Cert then uses:
curl -o n98-magerun.phar https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar
Use below to make .phar file executable
chmod +x ./n98-magerun.phar
Install with Composer
https://github.com/netz98/n98-magerun/wiki/Install-from-source-with-Composer
more command for this tool debug tool
https://github.com/netz98/n98-magerun#readme
3. Aoe_TemplateHints – https://github.com/fbrnc/Aoe_TemplateHints
AOE TEMPLATE HINTS
Are Template Hints is a simple extension that overrides default Magento template path hints. Sometime you will face hindrances utilizing default Magento path hints; it’s breaking the page by throwing blocks while hints were squeezing in. Are Template Path hints show popups to show if you hover any block which is cool compared to native Magento Solution for path hints?
As well block name, template paths it includes module name, blocks belongs to, nesting info, methods available for the CMS pages id and blocks. Using this you need not to go to the admin panel every time to enable and disable the hints.
You can just trigger it adding ?ath=1 to your current URL where you want to debug and after successful investigation just simply remove ?ath=1 from your url and you are done.
4. Aoe_Profiler https://github.com/fbrnc/Aoe_Profiler
AOE PROFILER
Makers of AOE Template path hints there is a more useful tool provided by them for making Magento Development process easier using the profiler. As all Magento developer knows that there is an inbuilt Magento profiler tool, but it’s very hard to read and understand so only a few Magento Developers are using this tool.
But don does not worry about that you have a flamboyant solutions which you can utilize instead of inbuilt Magento profiler called AOE Profiler tool. AOE Magento profiler is free to use and provides the nested tree-like structure that has capabilities of expanding and collapse nested section and blocks and most of that its filtering results by load time. Bu utilizing this tool you can quickly debug the problems and able to cater optimized website for your business which is always focused.
Above are the most recommend and useful debug tool for Magento Website Development and M-Connect Media’s Magento Developers are used to with it getting more than expected results.
Comments on this Articles for Magento Extension for debugging are always welcome to discuss the things more deeply. If you need any help with your Magento eCommerce website, then hire Magento developers from us today and grow your eCommerce website.
Really impressive list for the Magento debug tool, I am used to this all above listed debugger, there is one more recently updated and best Magento debug tool Commerce Bug 2, widely used by Magento Developers for better performance and rapid development, this Magento debug extension is developed by the famous Magento expert named Alan Storm, Have a try you will find it impressive.
I prefer to use X-debug as it comes with an surprise when it comes to tracing ability. Actually I used this tool with one of the local development and it was great to work with it.