butopea/oc_tracy

Implementation Tracy Debugger for Opencart 2.x

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 9

Type:vqmod-plugin

1.0.2 2017-06-07 13:46 UTC

This package is not auto-updated.

Last update: 2024-05-09 19:12:45 UTC


README

** 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!