@Override
  protected boolean isEnabled(@Nullable final XDebugSession session, final AnActionEvent event) {
    if (session instanceof XDebugSessionImpl) {
      return !((XDebugSessionImpl)session).isReadOnly();
    }
    return true;
  }
@Override
  protected boolean isEnabled(@Nullable final XDebugSession session, final AnActionEvent event)