@Nullable
  default String getContentDescriptorToolWindowId(@NotNull ExecutionEnvironment environment) {
    RunProfile runProfile = environment.getRunProfile();
    if (runProfile instanceof RunConfiguration) {
      return getContentDescriptorToolWindowId((RunConfiguration)runProfile);
    }

    RunnerAndConfigurationSettings settings = environment.getRunnerAndConfigurationSettings();
    if (settings != null) {
      return getContentDescriptorToolWindowId(settings.getConfiguration());
    }
    return null;
  }
@Nullable
  default String getContentDescriptorToolWindowId(@NotNull ExecutionEnvironment environment)