void (@NotNull final Project project, @NotNull final ExecutionResult result, @NotNull PyDebugProcess debugProcess, @NotNull XDebugSession session) { ExecutionConsole console = result.getExecutionConsole(); if (console instanceof PythonDebugLanguageConsoleView) { ProcessHandler processHandler = result.getProcessHandler(); initDebugConsoleView(project, debugProcess, (PythonDebugLanguageConsoleView)console, processHandler, session); } }