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 ca81f5b3f8d9..b70bd3176ce1 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 @@ -65,7 +65,7 @@ internal class BackendXDebuggerManagerApi : XDebuggerManagerApi { ) val consoleView = if (SplitDebuggerMode.isSplitDebugger()) { - currentSession.consoleView!!.toRpc(currentSession.tabCoroutineScope, debugProcess) + currentSession.consoleView?.toRpc(currentSession.tabCoroutineScope, debugProcess) } else { null