@Nullable
  private static RunContentDescriptor doGetRunContentDescriptor(
    @NotNull ExternalSystemRunnableState state,
    @NotNull ExecutionEnvironment environment
  ) throws ExecutionException {
    RunContentDescriptor runContentDescriptor = createProcessToDebug(state, environment);
    if (runContentDescriptor == null) return null;

    state.setContentDescriptor(runContentDescriptor);

    ExecutionConsole executionConsole = runContentDescriptor.getExecutionConsole();
    if (executionConsole instanceof BuildView) {
      return runContentDescriptor;
    }
    RunContentDescriptor descriptor = new RunContentDescriptor(
      runContentDescriptor.getExecutionConsole(),
      runContentDescriptor.getProcessHandler(),
      runContentDescriptor.getComponent(),
      runContentDescriptor.getDisplayName(),
      runContentDescriptor.getIcon(),
      null,
      runContentDescriptor.getRestartActions()
    ) {
      @Override
      public boolean isHiddenContent() {
        return true;
      }
    };
    descriptor.setRunnerLayoutUi(runContentDescriptor.getRunnerLayoutUi());
    return descriptor;
  }
@Nullable
  private static RunContentDescriptor doGetRunContentDescriptor(
    @NotNull ExternalSystemRunnableState state,
    @NotNull ExecutionEnvironment environment
  )