Skip to content

Commit 8465a9d

Browse files
committed
add params to tracy
1 parent b274fd4 commit 8465a9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/Providers/TracyServiceProvider.php

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ protected function activateTracy() : void
2626
Debugger::$showLocation = $this->isShowLocation();
2727
Debugger::$maxDepth = 20;
2828
Debugger::$maxLength = 200;
29+
if($this->app['config']->get('tracy.editor')) {
30+
Debugger::$editor = $this->app['config']->get('tracy.editor');
31+
}
32+
if($this->app['config']->get('tracy.editorMapping')) {
33+
Debugger::$editorMapping = $this->app['config']->get('tracy.editorMapping');
34+
}
2935

3036
$this->registerErrorTpl();
3137
$this->registerPanels($this->listPanels());

0 commit comments

Comments
 (0)