boolean (BaseProcessHandler processHandler, Project project) { JavaAttachDebuggerProvider.LocalAttachInfo info = JavaAttachDebuggerProvider.getProcessAttachInfo(processHandler); if (info != null) { JavaAttachDebuggerProvider.attach(info, project); return true; } return false; }