void (boolean primary) { super.enableConsole(primary); if (!primary && !isPrimaryConsoleEnabled()) { PythonConsoleView console = getPydevConsoleView(); if (!myDebugConsoleInitialized && console.getExecuteActionHandler() != null) { if (!console.getExecuteActionHandler().getConsoleCommunication().isWaitingForInput()) { showStartMessageForFirstExecution(DEBUG_CONSOLE_START_COMMAND, console); } myDebugConsoleInitialized = true; console.initialized(); IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> console.requestFocus()); } } }