update debug bar

This commit is contained in:
Edward Yang 2022-07-01 17:34:16 +08:00
parent 9a1ec90338
commit 467699dc15
1 changed files with 34 additions and 34 deletions

View File

@ -33,13 +33,13 @@ return [
| |
*/ */
'storage' => [ 'storage' => [
'enabled' => true, 'enabled' => true,
'driver' => 'file', // redis, file, pdo, socket, custom 'driver' => 'file', // redis, file, pdo, socket, custom
'path' => storage_path('debugbar'), // For file driver 'path' => storage_path('debugbar'), // For file driver
'connection' => null, // Leave null for default connection (Redis/PDO) 'connection' => null, // Leave null for default connection (Redis/PDO)
'provider' => '', // Instance of StorageInterface for custom driver 'provider' => '', // Instance of StorageInterface for custom driver
'hostname' => '127.0.0.1', // Hostname to use with the "socket" driver 'hostname' => '127.0.0.1', // Hostname to use with the "socket" driver
'port' => 2304, // Port to use with the "socket" driver 'port' => 2304, // Port to use with the "socket" driver
], ],
/* /*
@ -148,29 +148,29 @@ return [
*/ */
'collectors' => [ 'collectors' => [
'phpinfo' => true, // Php version 'phpinfo' => true, // Php version
'messages' => true, // Messages 'messages' => true, // Messages
'time' => true, // Time Datalogger 'time' => true, // Time Datalogger
'memory' => true, // Memory usage 'memory' => true, // Memory usage
'exceptions' => true, // Exception displayer 'exceptions' => true, // Exception displayer
'log' => true, // Logs from Monolog (merged in messages if enabled) 'log' => true, // Logs from Monolog (merged in messages if enabled)
'db' => true, // Show database (PDO) queries and bindings 'db' => true, // Show database (PDO) queries and bindings
'views' => true, // Views with their data 'views' => true, // Views with their data
'route' => true, // Current route information 'route' => true, // Current route information
'auth' => false, // Display Laravel authentication status 'auth' => false, // Display Laravel authentication status
'gate' => true, // Display Laravel Gate checks 'gate' => true, // Display Laravel Gate checks
'session' => true, // Display session data 'session' => true, // Display session data
'symfony_request' => true, // Only one can be enabled.. 'symfony_request' => true, // Only one can be enabled..
'mail' => true, // Catch mail messages 'mail' => true, // Catch mail messages
'laravel' => false, // Laravel version and environment 'laravel' => false, // Laravel version and environment
'events' => false, // All events fired 'events' => false, // All events fired
'default_request' => false, // Regular or special Symfony request logger 'default_request' => false, // Regular or special Symfony request logger
'logs' => false, // Add the latest log messages 'logs' => false, // Add the latest log messages
'files' => false, // Show the included files 'files' => false, // Show the included files
'config' => false, // Display config settings 'config' => false, // Display config settings
'cache' => false, // Display cache events 'cache' => false, // Display cache events
'models' => true, // Display models 'models' => true, // Display models
'livewire' => true, // Display Livewire (when available) 'livewire' => true, // Display Livewire (when available)
], ],
/* /*
@ -187,24 +187,24 @@ return [
'show_name' => true, // Also show the users name/email in the debugbar 'show_name' => true, // Also show the users name/email in the debugbar
], ],
'db' => [ 'db' => [
'with_params' => true, // Render SQL with the parameters substituted 'with_params' => true, // Render SQL with the parameters substituted
'backtrace' => true, // Use a backtrace to find the origin of the query in your files. 'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults) 'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults)
'timeline' => false, // Add the queries to the timeline 'timeline' => false, // Add the queries to the timeline
'duration_background' => true, // Show shaded background on each query relative to how long it took to execute. 'duration_background' => true, // Show shaded background on each query relative to how long it took to execute.
'explain' => [ // Show EXPLAIN output on queries 'explain' => [ // Show EXPLAIN output on queries
'enabled' => false, 'enabled' => false,
'types' => ['SELECT'], // Deprecated setting, is always only SELECT 'types' => ['SELECT'], // Deprecated setting, is always only SELECT
], ],
'hints' => false, // Show hints for common mistakes 'hints' => false, // Show hints for common mistakes
'show_copy' => false, // Show copy button next to the query 'show_copy' => false, // Show copy button next to the query
], ],
'mail' => [ 'mail' => [
'full_log' => false, 'full_log' => false,
], ],
'views' => [ 'views' => [
'timeline' => false, // Add the views to the timeline (Experimental) 'timeline' => false, // Add the views to the timeline (Experimental)
'data' => false, //Note: Can slow down the application, because the data can be quite large.. 'data' => env('DEBUGBAR_OPTIONS_VIEW_DATA', false), //Note: Can slow down the application, because the data can be quite large..
], ],
'route' => [ 'route' => [
'label' => true, // show complete route on bar 'label' => true, // show complete route on bar