You can enable development mode like this in Ktor
In file `application.conf`
```
ktor {
development = true
deployment {
port = 8080
port = ${?PORT}
}
application {
modules = [ com.myapp.ApplicationKt.module ]
}
}
jwt {
domain = "https://jwt-provider-domain/"
audience = "jwt-audience"
realm = "ktor sample app"
}
```
and check with
```
fun Application.module() {
println("developmentMode: " +this.environment.developmentMode)
...
```
For me it worked with this code in `application.conf`
```
ktor {
development = true
deployment {
port = 8080
port = ${?PORT}
}
application {
modules = [ com.myapp.ApplicationKt.module ]
}
}
jwt {
domain = "https://jwt-provider-domain/"
audience = "jwt-audience"
realm = "ktor sample app"
}
```
and this is how i checked it
```
fun Application.module() {
println("developmentMode: " +this.environment.developmentMode)
...
```