diff --git a/cli/cli.go b/cli/cli.go
index ebcb83dde137bfabfe9f9e00b128ae15f85e1747..1e5a13ab1b9558ac85f48a2cac6a13b3cc6a78b4 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -63,7 +63,7 @@ func Parse() {
 		return
 	}
 
-	if *flagDebugMode {
+	if *flagDebugMode || cfg.HasDebugMode() {
 		logger.EnableDebug()
 	}
 
diff --git a/config/config.go b/config/config.go
index 4f182e55a4b180d3488eb9bffe37c5f50017e23d..bf4f43d54075b70973907dd8c497bc66529ec1d8 100644
--- a/config/config.go
+++ b/config/config.go
@@ -48,6 +48,11 @@ func (c *Config) getInt(key string, fallback int) int {
 	return v
 }
 
+// HasDebugMode returns true if debug mode is enabled.
+func (c *Config) HasDebugMode() bool {
+	return c.get("DEBUG", "") != ""
+}
+
 // BaseURL returns the application base URL.
 func (c *Config) BaseURL() string {
 	return c.get("BASE_URL", defaultBaseURL)