PHP JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 389 commits behind madalinoprea:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
skin/frontend/base/default/debug
.gitignore
README.md

README.md

Magento Debug Toolbar

Based on robhudson's awesome work (https://github.com/robhudson/django-debug-toolbar) we've created a debug toolbar for Magento. It is installed as a Magento module without hacking Magento's core.

Basic features are implemented and few others will come soon. Check the screenshots for current features: https://github.com/madalinoprea/magneto-debug/wiki

Or demo video on YouTube: http://www.youtube.com/watch?v=aqvgrmebcu4

FEATURES

  • Now available in Admin (1.0.1 RC - fancy for I'm laizy to create Magento Connect package)
  • Magento module listing; Toggle Magento modules on the fly
  • Search configuration keys
  • Display peak memory usage, script execution time
  • Request information (controller name, action name, cookies variables, session variables, GET and POST variables)
  • Models instantiated
  • SQL queries executed for current request; ability to see queries' result or queries' execution plan (EXPLAIN)
  • List Magento configuration
  • Print layout handles for current request
  • Find xml files where a specific layout handle is defined
  • Created blocks, their associated templates; Preview templates' source code
  • Quick actions:
    • Toggle template hints
    • Clear cache
    • Toggle inline translation

KNOWN ISSUES

We're working to correct these:

  • To enable SQL profiler manually you have to add in your local.xml profiler tag <profiler>1</profiler> under connection, like in the example below:

    
        
            
            
            
            
            1
            1
        
    
  • Disable SQL Profiler is not working, but Enable SQL Profiler works like a charm (or not)