diff --git a/Db.php b/Db.php index edb186d..faf0dfc 100644 --- a/Db.php +++ b/Db.php @@ -628,6 +628,7 @@ private static function deprecationWarning() */ public static function debug() { + self::init(); self::$_env->set('debug', true); }