diff --git a/src/EntityManager.php b/src/EntityManager.php index 884ec82..b2ce44a 100644 --- a/src/EntityManager.php +++ b/src/EntityManager.php @@ -93,6 +93,9 @@ public function addEventListener($events, $listener): self public function init(): void { if ($this->connection === null) { + if (\class_exists(Debugger::class) === true) { + Debugger::getBlueScreen()->addPanel([TracyBlueScreenDebugger::class, 'render']); + } $this->connection = ($manager = $this->dependencies->get())->getConnection(); $this->configuration = $manager->getConfiguration(); $this->eventManager = $manager->getEventManager();