From d33470b93bdc25282db79e19df78bc801f718d36 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Tue, 17 Jun 2025 13:18:37 +0200 Subject: [PATCH] debuggers: Mark processId as optional field in Delve Attach configurations (#32856) Closes #32849 Release Notes: - Fixed overly strict validation of Go debugging configurations. --- crates/dap_adapters/src/go.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/dap_adapters/src/go.rs b/crates/dap_adapters/src/go.rs index f78e1b6b0c76f4d94f684bfedd7dd838ef22821b..afd733b56a10161f808c6198d94485130ada83b5 100644 --- a/crates/dap_adapters/src/go.rs +++ b/crates/dap_adapters/src/go.rs @@ -343,7 +343,7 @@ impl DebugAdapter for GoDebugAdapter { }, { "type": "object", - "required": ["processId", "mode"], + "required": ["mode"], "properties": attach_properties } ]