go-ozzo/ozzo-log

Debugging ozzo-config.Config

Closed this issue · 0 comments

I builded a windows version of dalve and plugin that support it.
But when I debugging my App, i don't see any values loaded into this struct...

func LoadConfig() *config.Config{
    // Load config
    c := config.New()
    c.Load("conf/config.json")
    return c
}
{
  "Version": "1.0",
  "StaticServer": {
    "Path": "./static"
  },
  "WebServer": {
    "PortHTTP": "8080",
    "PortHTTPS": "8088",
    "Domain": "localhost"
  },
  "Logger": {
    "Filename": "app.log",
    "Email": "****@gmail.com"
  },
  "Db":{
    "Type": "mysql",
    "Host": "localhost",
    "DbName": "inframe",
    "Login": "root",
    "Password": ""
  }
}

image
Are you see the same in Linux or more?