There's work in progress on implementing stacktrac...
# coroutines
c
There's work in progress on implementing stacktrace recovery that could maybe also be used for this purpose: https://github.com/Kotlin/kotlinx.coroutines/pull/792