burdapraha/oc_tracy

Implementation Tracy Debugger for Opencart 2.x

Installs: 1 628

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 3

Open Issues: 3

Type:vqmod-plugin

1.0.5 2018-04-12 12:08 UTC

This package is not auto-updated.

Last update: 2024-03-16 09:13:24 UTC


README

"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
  3. composer require sasedev/composer-plugin-filecopier for files manipulating
  4. Add this code to your composer.json project file, extra section:
    "extra": {
        "filescopier": [
            {
                "source": "vendor/burdapraha/oc_tracy/upload",
                "destination": "upload",
                "debug": "true"
            }
        ]
    }    

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!

Optional settings

Constants to config.php, /admin/config.php:

  • DEV_EMAIL for notification about bugs in production mode
  • DEV_EDITOR for one-click open file, row with bug from "bluescreen"