@Override
  protected boolean isHidden(AnActionEvent event) {
    if (!isPauseResumeMerged()) {
      return super.isHidden(event);
    }
    Project project = event.getProject();
    if (project == null) {
      return false;
    }
    XDebugSession session = DebuggerUIUtil.getSession(event);
    if (session == null || session.isStopped()) {
      return false;
    }
    return super.isHidden(event) || session.isPaused();
  }
@Override
  protected boolean isHidden(AnActionEvent event)