Hey! I’m trying to debug a 403, and wonder if ther...
# ktor
p
Hey! I’m trying to debug a 403, and wonder if there is any way to make ktor log the steps it takes through the pipeline.
I have called
Routing.trace
, but seems routing is never reached, as there is no log entry from it.
I’m using ktor-auth-jwt, and have tried to add a breakpoint in the handler in the authentication feature, but the breakpoint is never reached.
b
Don't know any readily available solutions/feature, but I think you could add your own logging interceptor to each phase in the pipeline.