-
-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
Version: 2.10.10
Bug Description
When I enable Debugger and disable bar - the dumpe() functiuon does not render JS for toggling dump-branches
Steps To Reproduce
use \Tracy\Debugger;
Debugger::enable(Debugger::Development);
Debugger::$showBar = false;
dumpe($_SERVER);
Expected Behavior
dump() && dumpe() must render JS scripts
Possible Solution
I suggest this fix, which will solve the problem:
- in file: .../src/Tracy/Dumper/Dumper.php:170
- instead of code:
if (!Debugger::isEnabled()) - make a code like this:
if (!Debugger::isEnabled() || !Debugger::$showBar)
Metadata
Metadata
Assignees
Labels
No labels