jan-herman/kirby-tracy

Kirby implementation of Tracy debugger.

1.4.0 2024-08-19 09:54 UTC

This package is auto-updated.

Last update: 2024-11-19 10:35:19 UTC


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.