useContextElementInDebugMode
suspend fun <Element : CoroutineContext.Element> useContextElementInDebugMode(key: CoroutineContext.Key<Element>, action: (Element) -> Unit)
Content copied to clipboard
Performs action on the current element of the CoroutineContext with the given key if Intellij JVM debugger is attached.