From a1638249c9b4c2a26f92f0b56c51a6deb8a98b8c Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Sun, 3 Mar 2024 19:17:52 +0000 Subject: [PATCH] code: Expose `esbonio.trace.server` option This has always been there thanks to VSCode's language client, this commit finally exposes the option in the settings UI/completion suggestions --- code/changes/748.enhancement.md | 1 + code/package.json | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 code/changes/748.enhancement.md diff --git a/code/changes/748.enhancement.md b/code/changes/748.enhancement.md new file mode 100644 index 000000000..4d56fe218 --- /dev/null +++ b/code/changes/748.enhancement.md @@ -0,0 +1 @@ +Added `esbonio.trace.server` option that allows the logging of LSP messages sent to/from the server diff --git a/code/package.json b/code/package.json index 2f949e31c..574dac1c9 100644 --- a/code/package.json +++ b/code/package.json @@ -298,6 +298,22 @@ "default": false, "description": "Enable lsp-devtools integration for the language server" }, + "esbonio.trace.server": { + "scope": "window", + "type": "string", + "default": "off", + "enum": [ + "off", + "messages", + "verbose" + ], + "description": "Controls if LSP messages sent to/from the server should be logged.", + "enumDescriptions": [ + "do not log any lsp messages", + "log all lsp messages sent to/from the server", + "log all lsp messages sent to/from the server, including their contents" + ] + }, "esbonio.server.debug": { "scope": "window", "type": "boolean",