|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * DebugKit configuration options. |
| 4 | + * |
| 5 | + * Copy this file to your application's config directory and include it |
| 6 | + * in your bootstrap or application configuration. |
| 7 | + * |
| 8 | + * All options shown below use their default values. |
| 9 | + */ |
| 10 | +return [ |
| 11 | + 'DebugKit' => [ |
| 12 | + /** |
| 13 | + * Enable or disable panels for DebugKit. You can disable any of the |
| 14 | + * standard panels by setting them to false. |
| 15 | + * |
| 16 | + * Example: ['DebugKit.Packages' => false] |
| 17 | + */ |
| 18 | + // 'panels' => [], |
| 19 | + |
| 20 | + /** |
| 21 | + * Set to true to enable logging of schema reflection queries. |
| 22 | + * Disabled by default. |
| 23 | + */ |
| 24 | + // 'includeSchemaReflection' => false, |
| 25 | + |
| 26 | + /** |
| 27 | + * Set an array of whitelisted TLDs for local development. |
| 28 | + * This can be used to make sure DebugKit displays on hosts |
| 29 | + * it otherwise determines unsafe. |
| 30 | + * |
| 31 | + * Example: ['test', 'local', 'example'] |
| 32 | + */ |
| 33 | + // 'safeTld' => [], |
| 34 | + |
| 35 | + /** |
| 36 | + * Force DebugKit to display. Careful with this, it is usually |
| 37 | + * safer to simply whitelist your local TLDs. |
| 38 | + * |
| 39 | + * Can also be set to a callable that returns a boolean. |
| 40 | + * Example: function() { return $_SERVER['REMOTE_ADDR'] === '192.168.2.182'; } |
| 41 | + */ |
| 42 | + // 'forceEnable' => false, |
| 43 | + |
| 44 | + /** |
| 45 | + * Regex pattern (including delimiter) to ignore paths. |
| 46 | + * DebugKit won't save data for request URLs that match this regex. |
| 47 | + * |
| 48 | + * Example: '/\.(jpg|png|gif)$/' |
| 49 | + */ |
| 50 | + // 'ignorePathsPattern' => null, |
| 51 | + |
| 52 | + /** |
| 53 | + * Defines how many levels of nested data should be shown in general |
| 54 | + * for debug output. |
| 55 | + * |
| 56 | + * WARNING: Increasing the max depth level can lead to an out of memory error. |
| 57 | + */ |
| 58 | + // 'maxDepth' => 5, |
| 59 | + |
| 60 | + /** |
| 61 | + * Defines how many levels of nested data should be shown in the |
| 62 | + * variables tab. |
| 63 | + * |
| 64 | + * WARNING: Increasing the max depth level can lead to an out of memory error. |
| 65 | + */ |
| 66 | + // 'variablesPanelMaxDepth' => 5, |
| 67 | + |
| 68 | + /** |
| 69 | + * Number of requests to keep in history panel. |
| 70 | + */ |
| 71 | + // 'requestCount' => 20, |
| 72 | + ], |
| 73 | +]; |
0 commit comments