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