@Override
  public void writeExternal(@NotNull Element element) throws WriteExternalException {
    super.writeExternal(element);
    element.addContent(XmlSerializer.serialize(mySettings, new SerializationFilter() {
      @Override
      public boolean accepts(@NotNull Accessor accessor, @NotNull Object bean) {
        // only these fields due to backward compatibility
        return switch (accessor.getName()) {
          case "passParentEnvs" -> !mySettings.isPassParentEnvs();
          case "env" -> !mySettings.getEnv().isEmpty();
          default -> true;
        };
      }
    }));
    writeExternalBoolean(element, DEBUG_SERVER_PROCESS_NAME, isDebugServerProcess());
    writeExternalBoolean(element, REATTACH_DEBUG_PROCESS_NAME, isReattachDebugProcess());
    ExternalSystemRunConfigurationExtensionManager.getInstance().writeExternal(this, element);
  }
@Override
  public void writeExternal(@NotNull Element element)