beginEnablePluginSync(pluginConfigEntry, searchPaths, pluginConfigOverrides) {
    Debug.assertIsDefined(this.projectService.host.require);
    let errorLogs;
    const log = (message) => this.projectService.logger.info(message);
    const logError = (message) => {
      (errorLogs != null ? errorLogs : errorLogs = []).push(message);
    };
    const resolvedModule = firstDefined(searchPaths, (searchPath) => Project3.resolveModule(pluginConfigEntry.name, searchPath, this.projectService.host, log, logError));
    return { pluginConfigEntry, pluginConfigOverrides, resolvedModule, errorLogs };
  }
Performs the initial steps of enabling a plugin by finding and instantiating the module for a plugin synchronously using 'require'.

@internal