Awesome
Tracy Debugger Toolbar for OpenCart 2.x
"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
Installation
- Requiring installed vQmod because vQmod doesn't support installing via composer itself.
composer require burdapraha/oc_tracy
composer require sasedev/composer-plugin-filecopier
for files manipulating- 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.
- add constant
define('DEV', true);
to your config.php, /admin/config.php - optionally you can add row to your
.gitignore
file with path to tracy.xml (example: upload/vqmod/xml/tracy.xml) - 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"