private async getServerOptions()

in src/clientHandler.ts [96:110]


  private async getServerOptions(): Promise<ServerOptions> {
    const cmd = await this.lsPath.resolvedPathToBinary();
    const serverArgs = config('azapi').get<string[]>('languageServer.args', []);
    const executable: Executable = {
      command: cmd,
      args: serverArgs,
      options: {},
    };
    const serverOptions: ServerOptions = {
      run: executable,
      debug: executable,
    };
    this.outputChannel.appendLine(`Launching language server: ${cmd} ${serverArgs.join(' ')}`);
    return serverOptions;
  }