Skip to content

Commit a3a60a3

Browse files
author
Fredrick Peter
committed
error debugger fix
1 parent 8cfe136 commit a3a60a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Traits/ReusableTrait.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,16 @@ public function autoStartDebugger()
5959
{
6060
// if DEBUG MODE IS ON
6161
if(Manager::setEnvBool(APP_DEBUG)){
62+
63+
// register debugger
6264
// header not sent
6365
if (!headers_sent()) {
64-
// Debugger::enable(!APP_DEBUG);
66+
// Debugger::enable(!APP_DEBUG);
6567
}
66-
67-
// register debugger
6868
Debugger::$showBar = false;
6969
Debugger::$strictMode = true; // display all errors
7070
Debugger::$maxDepth = 5; // default: 3
71-
Debugger::$maxLength = 10000; // default: 150
71+
Debugger::$maxLength = 5000; // default: 150
7272
Debugger::$dumpTheme = $this->getBgColor(APP_DEBUG_BG);
7373
}
7474
}

0 commit comments

Comments
 (0)