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",