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