XDebugProcess (@NotNull final XDebugSession session) { PyRemoteDebugProcess pyDebugProcess = new PyRemoteDebugProcess(session, serverSocket, result.getExecutionConsole(), result.getProcessHandler(), "") { @Override protected void printConsoleInfo() { } @Override public int getConnectTimeout() { return getInt("python.debugger.attach.timeout"); } @Override protected void detachDebuggedProcess() { handleStop(); } @Override protected String getConnectionMessage() { return PyBundle.message("python.debugger.attaching.to.process.with.pid", myPid); } @Override protected String getConnectionTitle() { return PyBundle.message("python.debugger.attaching"); } }; pyDebugProcess.setPositionConverter(new PyLocalPositionConverter()); createConsoleCommunicationAndSetupActions(myProject, result, pyDebugProcess, session); return pyDebugProcess; }