From 0671e2f4ede1843c7ffdc480faab54268c4919ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BCp=20Can=20Akman?= Date: Sun, 31 May 2026 21:48:40 +0300 Subject: [PATCH] Add localfs and localfsMap to the debugger configuration schema The ruby_lsp debugger forwards launch configurations to the Ruby debug gem, which reads localfs and localfsMap, but they were never declared in the package.json schema, so VS Code flagged them as not allowed. Declare both under launch and attach. Closes #3597 --- vscode/package.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/vscode/package.json b/vscode/package.json index 516989b7f..2c46da93f 100644 --- a/vscode/package.json +++ b/vscode/package.json @@ -631,6 +631,14 @@ "additionalProperties": { "type": "string" } + }, + "localfs": { + "type": "boolean", + "description": "Whether VS Code and the debuggee run on the same machine" + }, + "localfsMap": { + "type": "string", + "description": "Pairs of remote and local root paths, written as remote:local (for example /remote_dir:/local_dir)" } } }, @@ -647,6 +655,14 @@ "debugHost": { "type": "string", "description": "The host to use to connect to the debugger" + }, + "localfs": { + "type": "boolean", + "description": "Whether VS Code and the debuggee run on the same machine" + }, + "localfsMap": { + "type": "string", + "description": "Pairs of remote and local root paths, written as remote:local (for example /remote_dir:/local_dir)" } } }