IJPL-208237 [debugger] Better coroutine scope for creating console

GitOrigin-RevId: de5d37db05966dce3cf8081c10babfce6005e7af
This commit is contained in:
Alexander Kuznetsov
2025-10-06 17:43:30 +00:00
committed by intellij-monorepo-bot
parent 25c25a4c93
commit 2df4ef188f
@@ -58,9 +58,7 @@ internal class BackendXDebuggerManagerApi : XDebuggerManagerApi {
)
val consoleView = if (useFeProxy()) {
currentSession.getRunContentDescriptorIfInitialized()?.coroutineScope?.let { scope ->
currentSession.consoleView!!.toRpc(scope, debugProcess)
}
currentSession.consoleView!!.toRpc(currentSession.tabCoroutineScope, debugProcess)
}
else {
null