File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 218218 'duration_background ' => true , // Show shaded background on each query relative to how long it took to execute.
219219 'explain ' => [ // Show EXPLAIN output on queries
220220 'enabled ' => false ,
221- 'types ' => ['SELECT ' ], // Deprecated setting, is always only SELECT
222221 ],
223- 'hints ' => false , // Show hints for common mistakes
224- 'show_copy ' => false , // Show copy button next to the query,
222+ 'hints ' => false , // Show hints for common mistakes
223+ 'show_copy ' => true , // Show copy button next to the query,
225224 'slow_threshold ' => false , // Only track queries that last longer than this time in ms
226225 'memory_usage ' => false , // Show queries memory usage
227226 'soft_limit ' => 100 , // After the soft limit, no parameters/backtrace are captured
Original file line number Diff line number Diff line change @@ -128,10 +128,6 @@ public function setDurationBackground($enabled = true)
128128 public function setExplainSource ($ enabled , $ types )
129129 {
130130 $ this ->explainQuery = $ enabled ;
131- // workaround ['SELECT'] only. https://github.com/barryvdh/laravel-debugbar/issues/888
132- // if($types){
133- // $this->explainTypes = $types;
134- // }
135131 }
136132
137133 public function startMemoryUsage ()
You can’t perform that action at this time.
0 commit comments