master
Brad Cornes 2021-05-04 13:26:55 +01:00
parent 1a64b562a4
commit 89aacecb64
1 changed files with 5 additions and 5 deletions

View File

@ -22,6 +22,7 @@ import {
import { import {
LanguageClient, LanguageClient,
LanguageClientOptions, LanguageClientOptions,
ServerOptions,
TransportKind, TransportKind,
State as LanguageClientState, State as LanguageClientState,
} from 'vscode-languageclient/node' } from 'vscode-languageclient/node'
@ -153,15 +154,14 @@ export function activate(context: ExtensionContext) {
) )
} }
let debugOptions = { let serverOptions: ServerOptions = {
execArgv: ['--nolazy', `--inspect=${6011 + clients.size}`],
}
let serverOptions = {
run: { module, transport: TransportKind.ipc }, run: { module, transport: TransportKind.ipc },
debug: { debug: {
module, module,
transport: TransportKind.ipc, transport: TransportKind.ipc,
options: debugOptions, options: {
execArgv: ['--nolazy', `--inspect=${6011 + clients.size}`],
},
}, },
} }
let clientOptions: LanguageClientOptions = { let clientOptions: LanguageClientOptions = {