Skip to content

Commit 4f7327b

Browse files
author
Chris Shepherd
committed
Fix debug flag breaking in latest VSCode
1 parent ae24581 commit 4f7327b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function activate(context: ExtensionContext) {
3030
let serverModule = context.asAbsolutePath(path.join('node_modules', 'yaml-language-server', 'out', 'server', 'src', 'server.js'));
3131

3232
// The debug options for the server
33-
let debugOptions = { execArgv: ["--nolazy", "--debug=6009"] };
33+
let debugOptions = { execArgv: ["--nolazy", "--inspect=6009"] };
3434

3535
// If the extension is launched in debug mode then the debug server options are used
3636
// Otherwise the run options are used

0 commit comments

Comments
 (0)