jan-herman / kirby-tracy
Kirby implementation of Tracy debugger.
Installs: 75
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:kirby-plugin
Requires
- php: ^8.1
- getkirby/composer-installer: ^1.2
- tracy/tracy: ^2.10
README
Kirby implementation of Tracy debugger.
Usage
Requires non-standard hook kirby.render:before
to initialize Tracy before any other output.
Add the following snippet to your public/index.php
before this line: echo $kirby->render();
.
$kirby->trigger('kirby.render:before');
Options
mode
Default: 'detect'
Tracy mode. Can be one of the following: 'detect'
, 'development'
, 'staging'
, 'production'
, IP address or array of IP addresses.
adminEmail
Default: null
E-mail address to send error notifications to.
fromEmail
Default: null
E-mail address to send error notifications from.
editor
Default: 'vscode://file/%file:%line'
For more information see: Tracy documentation
enableInPanel
Default: false
Whether to show show Tracy bar in the panel area.
logsDirectory
Default: $kirby->root('logs')
Where to keep Tracy logs.
panels.page
Default: true
Whether to enable the page panel.