Skip to content

Commit 34b3f1f

Browse files
feat: enable language server logs to be opened as a log file VSCODE-429 (#618)
1 parent 6eb7606 commit 34b3f1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/language/languageServerController.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export default class LanguageServerController {
7777
// Notify the server about file changes in the workspace.
7878
fileEvents: workspace.createFileSystemWatcher('**/*'),
7979
},
80-
outputChannel: vscode.window.createOutputChannel(languageServerName),
80+
outputChannel: vscode.window.createOutputChannel(languageServerName, {
81+
log: true,
82+
}),
8183
};
8284

8385
log.info('Creating MongoDB Language Server...', {

0 commit comments

Comments
 (0)