This repository represents an extension for Magento 1.x that offers a developer debug toolbar. The idea came from robhudson's django-debug-toolbar. Latest version is based on Symfony's WebProfilerBundle UI.
Don't forget to check out screenshots gallery
Make sure you have Modman installed
Allow symlinks for the templates directory (required for installations via Modman)
n98-magerun.phar dev:symlinks
Install Debug Toolbar module:
cd [magento root folder]
modman init
modman clone https://github.com/madalinoprea/magneto-debug.git
Flush Magento's cache
I'm pretty lazy and I don't like to create Magento Connect packages. With modman you can effortlessly grab latest changes from github.
cd [magento root folder]
modman update magneto-debug
Lately, I've been more into composer and thanks to this project https://github.com/Cotya/magento-composer-installer you can use it for your Magento 1.x websites.
# Add package as requirement to composer.json
composer require madalinoprea/magneto-debug
# Clear cache and voila..
All released versions can be found on releases' page.
Please don't be afraid to use issue tracker on GitHub to report issues, ideas or any feedback. Also I encourage you to send pull requests. I'll review them, change them a bit and make sure unit tests are ok (pedantic :older_man:).
My goal is to have weekly releases with some meaningful features. To stay focused I use a Scrum board that shows backlog, selected work for current interation and progress.
Hot fix versions are released as soon as possible, outside of our weekly release schedule and they are triggered by some :crying_cat_face:-astrophic issue.
Extension is (hopefully) successfully unit tested against PHP 5.4, PHP 5.5 and Magento CE 1.9, Magento CE 1.8, Magento CE 1.7 and their related Magento Enterprise versions.
If you would like to support it on another version let us know.
'Mage Registry key already exists' exception is raised after installation
Mage registry key "_singleton/debug/observer" already exists
is reported when cache regeneration was corrupted.
Please try to flush Magento cache.Doesn'work. I see these logs on var/log/system.log
: Not valid template file:adminhtml/default/default/template/sheep_debug/toolbar.phtml
I can't see toolbar.
I can't see toolbar on specific page
before_body_end
. By default this block is available on all Magento pages.
Eliminate a possible cache problem by disabling all caches. Try to determine if there are any customizations that have removed before_body_end
.Fatal error while running unit tests
PHP Fatal error: Uncaught exception 'Exception' with message 'Warning: session_start(): Cannot send session cookie headers already sent by
you should review your phpunit configuration file and redirect phpunit output to stderr, please check my configuration file from phpunit.xml