Skip to content

Commit aba3e84

Browse files
committed
Enable LanguageClient Tracing Option
1 parent 2397932 commit aba3e84

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

package.json

+10
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,16 @@
10061006
"type": "boolean",
10071007
"default": false,
10081008
"markdownDescription": "Show buttons in the editor's title bar for moving the terminals pane (with the PowerShell Extension Terminal) around."
1009+
},
1010+
"powershell.trace.server": {
1011+
"type": "string",
1012+
"enum": [
1013+
"off",
1014+
"messages",
1015+
"verbose"
1016+
],
1017+
"default": "off",
1018+
"description": "Traces the communication between VS Code and the PowerShell Editor Services language server. **This setting is only meant for extension developers!**"
10091019
}
10101020
}
10111021
},

src/session.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ export class SessionManager implements Middleware {
644644
middleware: this,
645645
};
646646

647-
const languageClient = new LanguageClient("PowerShell Editor Services", connectFunc, clientOptions);
647+
const languageClient = new LanguageClient("powershell","PowerShell Editor Services Client", connectFunc, clientOptions);
648648

649649
// This enables handling Semantic Highlighting messages in PowerShell Editor Services
650650
// TODO: We should only turn this on in preview.

0 commit comments

Comments
 (0)