From a870ae7462e23b33379ade15a82d1bb0b2381bf6 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 2 Sep 2022 00:12:13 +0200 Subject: [PATCH] Update telescope config --- config/telescope.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/telescope.php b/config/telescope.php index 71753eeb..0062549c 100644 --- a/config/telescope.php +++ b/config/telescope.php @@ -116,7 +116,12 @@ return [ 'watchers' => [ Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true), - Watchers\CacheWatcher::class => env('TELESCOPE_CACHE_WATCHER', true), + + Watchers\CacheWatcher::class => [ + 'enabled' => env('TELESCOPE_CACHE_WATCHER', true), + 'hidden' => [], + ], + Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true), Watchers\CommandWatcher::class => [ @@ -124,7 +129,10 @@ return [ 'ignore' => [], ], - Watchers\DumpWatcher::class => env('TELESCOPE_DUMP_WATCHER', true), + Watchers\DumpWatcher::class => [ + 'enabled' => env('TELESCOPE_DUMP_WATCHER', true), + 'always' => env('TELESCOPE_DUMP_WATCHER_ALWAYS', false), + ], Watchers\EventWatcher::class => [ 'enabled' => env('TELESCOPE_EVENT_WATCHER', true), @@ -162,6 +170,7 @@ return [ Watchers\RequestWatcher::class => [ 'enabled' => env('TELESCOPE_REQUEST_WATCHER', true), 'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64), + 'ignore_http_methods' => [], 'ignore_status_codes' => [], ],