From 2df4ef188fed74649f4c14973af305b868618d18 Mon Sep 17 00:00:00 2001 From: Alexander Kuznetsov Date: Mon, 6 Oct 2025 17:44:39 +0200 Subject: [PATCH] IJPL-208237 [debugger] Better coroutine scope for creating console GitOrigin-RevId: de5d37db05966dce3cf8081c10babfce6005e7af --- .../debugger/impl/backend/BackendXDebuggerManagerApi.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/xdebugger-impl/backend/src/com/intellij/platform/debugger/impl/backend/BackendXDebuggerManagerApi.kt b/platform/xdebugger-impl/backend/src/com/intellij/platform/debugger/impl/backend/BackendXDebuggerManagerApi.kt index 400e545d22c8..0e902fbea266 100644 --- a/platform/xdebugger-impl/backend/src/com/intellij/platform/debugger/impl/backend/BackendXDebuggerManagerApi.kt +++ b/platform/xdebugger-impl/backend/src/com/intellij/platform/debugger/impl/backend/BackendXDebuggerManagerApi.kt @@ -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