@Override
  public void update(@NotNull AnActionEvent e) {
    ServersTreeStructure.RemoteServerNode node = getRemoteServerTarget(e);
    e.getPresentation().setEnabledAndVisible(node != null && node.getServer().getType().createDebugConnector() != null);
  }
@Override
  public void update(@NotNull AnActionEvent e)