*/ public array $collectors = [ Timers::class, Database::class, Logs::class, Views::class, // \CodeIgniter\Debug\Toolbar\Collectors\Cache::class, Files::class, Routes::class, Events::class, ]; /** * -------------------------------------------------------------------------- * Collect Var Data * -------------------------------------------------------------------------- * * If set to false var data from the views will not be collected. Useful to * avoid high memory usage when there are lots of data passed to the view. */ public bool $collectVarData = true; /** * -------------------------------------------------------------------------- * Max History * -------------------------------------------------------------------------- * * `$maxHistory` sets a limit on the number of past requests that are stored, * helping to conserve file space used to store them. You can set it to * 0 (zero) to not have any history stored, or -1 for unlimited history. */ public int $maxHistory = 20; /** * -------------------------------------------------------------------------- * Toolbar Views Path * -------------------------------------------------------------------------- * * The full path to the the views that are used by the toolbar. * This MUST have a trailing slash. */ public string $viewsPath = SYSTEMPATH . 'Debug/Toolbar/Views/'; /** * -------------------------------------------------------------------------- * Max Queries * -------------------------------------------------------------------------- * * If the Database Collector is enabled, it will log every query that the * the system generates so they can be displayed on the toolbar's timeline * and in the query log. This can lead to memory issues in some instances * with hundreds of queries. * * `$maxQueries` defines the maximum amount of queries that will be stored. */ public int $maxQueries = 100; /** * -------------------------------------------------------------------------- * Watched Directories * -------------------------------------------------------------------------- * * Contains an array of directories that will be watched for changes and * used to determine if the hot-reload feature should reload the page or not. * We restrict the values to keep performance as high as possible. * * NOTE: The ROOTPATH will be prepended to all values. * * @var list */ public array $watchedDirectories = [ 'app', ]; /** * -------------------------------------------------------------------------- * Watched File Extensions * -------------------------------------------------------------------------- * * Contains an array of file extensions that will be watched for changes and * used to determine if the hot-reload feature should reload the page or not. * * @var list */ public array $watchedExtensions = [ 'php', 'css', 'js', 'html', 'svg', 'json', 'env', ]; }