private static @Nullable RunConfiguration getBaseConfiguration(@NotNull RunConfiguration runConfiguration) {
    RunProfile runProfile = ExecutionManagerImpl.getDelegatedRunProfile(runConfiguration);
    return runProfile instanceof RunConfiguration ? (RunConfiguration)runProfile : null;
  }
private static @Nullable RunConfiguration getBaseConfiguration(@NotNull RunConfiguration runConfiguration)