From 85ae2fa33c1fd3d4fc8b3125964809a48616c9bf Mon Sep 17 00:00:00 2001 From: Andrew Nagy Date: Sat, 14 Aug 2021 14:50:52 -0700 Subject: [PATCH] add language server debug tracing --- package.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/package.json b/package.json index e72c4ff..643c962 100644 --- a/package.json +++ b/package.json @@ -93,6 +93,44 @@ "default": false, "description": "Enable this to print messages to the debug console when developing or debugging this VS Code extension. (Modifying requires VSCode reload)" }, + "psalm.trace.server": { + "scope": "window", + "anyOf": [ + { + "type": "string", + "enum": [ + "off", + "messages", + "verbose" + ], + "default": "off" + }, + { + "type": "object", + "properties": { + "verbosity": { + "type": "string", + "enum": [ + "off", + "messages", + "verbose" + ], + "default": "off" + }, + "format": { + "type": "string", + "enum": [ + "text", + "json" + ], + "default": "text" + } + } + } + ], + "default": "off", + "description": "Traces the communication between VSCode and the Psalm language server." + }, "psalm.analyzedFileExtensions": { "type": "array", "default": [