@Override
  public void readExternal(@NotNull Element element) throws InvalidDataException {
    super.readExternal(element);

    // migration
    readExternalBoolean(element, DEBUG_FLAG_NAME, this::setDebugServerProcess);
    readExternalBoolean(element, FORCE_TEST_NAME, this::setRunAsTest);

    readExternalBoolean(element, DEBUG_ALL_NAME, this::setDebugAllEnabled);
    if (!readExternalBoolean(element, RUN_AS_TEST_NAME, this::setRunAsTest)) {
      var tasks = getCommandLine().getTasks();
      var isRunAsTest = ContainerUtil.exists(tasks, it -> !getTestPatterns(it).isEmpty());
      setRunAsTest(isRunAsTest);
    }
  }
@Override
  public void readExternal(@NotNull Element element)