From c6f231e11e5e2314667f0fbd957cc3f35d62425e Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 6 Dec 2023 10:58:40 +0100 Subject: [PATCH] Add
 container to the dd function output

---
 application/helpers/debug_helper.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/application/helpers/debug_helper.php b/application/helpers/debug_helper.php
index 696be183..0a581805 100644
--- a/application/helpers/debug_helper.php
+++ b/application/helpers/debug_helper.php
@@ -26,7 +26,9 @@ if (!function_exists('dd')) {
     #[NoReturn]
     function dd(...$vars): void
     {
+        echo '
';
         var_dump($vars);
+        echo '
'; exit(1); }