File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
22
22
import {
23
23
LanguageClient ,
24
24
LanguageClientOptions ,
25
+ ServerOptions ,
25
26
TransportKind ,
26
27
State as LanguageClientState ,
27
28
} from 'vscode-languageclient/node'
@@ -153,15 +154,14 @@ export function activate(context: ExtensionContext) {
153
154
)
154
155
}
155
156
156
- let debugOptions = {
157
- execArgv : [ '--nolazy' , `--inspect=${ 6011 + clients . size } ` ] ,
158
- }
159
- let serverOptions = {
157
+ let serverOptions : ServerOptions = {
160
158
run : { module, transport : TransportKind . ipc } ,
161
159
debug : {
162
160
module,
163
161
transport : TransportKind . ipc ,
164
- options : debugOptions ,
162
+ options : {
163
+ execArgv : [ '--nolazy' , `--inspect=${ 6011 + clients . size } ` ] ,
164
+ } ,
165
165
} ,
166
166
}
167
167
let clientOptions : LanguageClientOptions = {
You can’t perform that action at this time.
0 commit comments