Skip to content

Implementation Tracy Debugger for Opencart 2.x

License

Notifications You must be signed in to change notification settings

butopea/oc_tracy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracy Debugger Toolbar for Opencart 2.x

** Forked version of https://packagist.org/packages/burdapraha/oc_tracy. Reuploaded since the original repository is not available anymore. **

"Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it." For more information see official Tracy repository

Preview of Debugger

Preview of Exception bluescreen

Installation

  1. Requiring installed Vqmod because VqMod doesn't support installing via composer itself.
  2. composer require burdapraha/oc_tracy dev-master
  3. Add this code to your composer.json project file:
    "scripts": {
        "post-install-cmd": [
            "php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'upload/vqmod/xml/tracy.xml');\""
        ],
        "post-update-cmd": [
            "php -r \"copy('vendor/burdapraha/oc_tracy/vqmod/xml/tracy.xml', 'upload/vqmod/xml/tracy.xml');\""
        ]
    } 

It will move vqmod xml file to correct folder.

  1. add constant define('DEV', true); to your config.php, /admin/config.php
  2. optionally you can add row to your .gitignore file with path to tracy.xml (example: upload/vqmod/xml/tracy.xml)
  3. celebrate!

About

Implementation Tracy Debugger for Opencart 2.x

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%