jan-herman/kirby-tracy

Kirby implementation of Tracy debugger.

1.2.2 2024-04-15 16:47 UTC

This package is auto-updated.

Last update: 2024-05-15 16:56:10 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

adminEmail

Default: null

E-mail address for error notifications.

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.