PHP code example of jan-herman / kirby-tracy

1. Go to this page and download the library: Download jan-herman/kirby-tracy library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jan-herman / kirby-tracy example snippets


return [
    'jan-herman.tracy' => [
        'mode' => 'detect',
        'logDirectory' => null,
        'debugger' => [
            'editor' => 'vscode://file/%file:%line',
        ],
        'logger' => [
            'email' => null,
            'fromEmail' => null,
            'emailSnooze' => null,
        ],
        'showBarInPanel' => false,
        'panels' => [
            'page' => true,
        ],
    ],
];

[
    'editor' => 'vscode://file/%file:%line',
]

'jan-herman.tracy' => [
    'debugger' => [
        'editor' => 'phpstorm://open?file=%file&line=%line',
        'maxDepth' => 4,
        'maxLength' => 200,
    ],
],

Debugger::$editor = 'phpstorm://open?file=%file&line=%line';
Debugger::$maxDepth = 4;
Debugger::$maxLength = 200;