|
412 | 412 | 'Session' => [
|
413 | 413 | 'defaults' => 'php',
|
414 | 414 | ],
|
| 415 | + |
| 416 | + /** |
| 417 | + * DebugKit configuration. |
| 418 | + * |
| 419 | + * Contains an array of configurations to apply to the DebugKit plugin, if loaded. |
| 420 | + * Documentation: https://book.cakephp.org/debugkit/5/en/index.html#configuration |
| 421 | + * |
| 422 | + * ## Options |
| 423 | + * |
| 424 | + * - `panels` - Enable or disable panels. The key is the panel name, and the value is true to enable, |
| 425 | + * or false to disable. |
| 426 | + * - `includeSchemaReflection` - Set to true to enable logging of schema reflection queries. Disabled by default. |
| 427 | + * - `safeTld` - Set an array of whitelisted TLDs for local development. |
| 428 | + * - `forceEnable` - Force DebugKit to display. Careful with this, it is usually safer to simply whitelist |
| 429 | + * your local TLDs. |
| 430 | + * - `ignorePathsPattern` - Regex pattern (including delimiter) to ignore paths. |
| 431 | + * DebugKit won’t save data for request URLs that match this regex. |
| 432 | + * - `ignoreAuthorization` - Set to true to ignore Cake Authorization plugin for DebugKit requests. |
| 433 | + * Disabled by default. |
| 434 | + * - `maxDepth` - Defines how many levels of nested data should be shown in general for debug output. |
| 435 | + * Default is 5. WARNING: Increasing the max depth level can lead to an out of memory error. |
| 436 | + * - `variablesPanelMaxDepth` - Defines how many levels of nested data should be shown in the variables tab. |
| 437 | + * Default is 5. WARNING: Increasing the max depth level can lead to an out of memory error. |
| 438 | + */ |
415 | 439 | 'DebugKit' => [
|
416 | 440 | 'forceEnable' => filter_var(env('DEBUG_KIT_FORCE_ENABLE', false), FILTER_VALIDATE_BOOLEAN),
|
417 | 441 | 'safeTld' => env('DEBUG_KIT_SAFE_TLD', null),
|
418 |
| - 'ignoreAuthorization' => env('DEBUG_KIT_IGNORE_AUTHORIZATION', false) |
| 442 | + 'ignoreAuthorization' => env('DEBUG_KIT_IGNORE_AUTHORIZATION', false), |
419 | 443 | ],
|
420 | 444 | ];
|
0 commit comments