@Override
  public boolean executeTask(final @NotNull DataContext dataContext,
                             @NotNull RunConfiguration configuration,
                             final @NotNull ExecutionEnvironment env,
                             @NotNull RunConfigurableBeforeRunTask task) {
    Pair<RunnerAndConfigurationSettings, ExecutionTarget> settings = task.getSettingsWithTarget();
    if (settings.first == null) {
      LOG.info("Cannot find run configuration '" + task.typeNameTarget.getName() + "' configured as 'Before launch' task in '" + env.getRunProfile().getName() + "', task is skipped");
      return true; // ignore missing configurations: IDEA-155476 Run/debug silently fails when 'Run another configuration' step is broken
    }
    return doExecuteTask(env, settings.first, settings.second);
  }
@Override
  public boolean executeTask(final @NotNull DataContext dataContext,
                             @NotNull RunConfiguration configuration,
                             final @NotNull ExecutionEnvironment env,
                             @NotNull RunConfigurableBeforeRunTask task)