1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add the possiblity to enable debug mode with an environment variable

This commit is contained in:
Frédéric Guillot 2018-01-29 20:54:38 -08:00
parent c8138351c9
commit 23d2d9109f
2 changed files with 6 additions and 1 deletions

View file

@ -63,7 +63,7 @@ func Parse() {
return
}
if *flagDebugMode {
if *flagDebugMode || cfg.HasDebugMode() {
logger.EnableDebug()
}