From 00bc154c462bac10b474b36d79455e3745214642 Mon Sep 17 00:00:00 2001 From: Remco Smits Date: Wed, 28 May 2025 17:16:12 +0200 Subject: [PATCH] debugger: Fix invalid schema for `pathMappings` (#31595) See https://github.com/xdebug/vscode-php-debug?tab=readme-ov-file#remote-host-debugging Release Notes: - Debugger Beta: Fixed invalid schema for `pathMappings` --- crates/dap_adapters/src/php.rs | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/crates/dap_adapters/src/php.rs b/crates/dap_adapters/src/php.rs index 99e7658ff8..c7a429b6ec 100644 --- a/crates/dap_adapters/src/php.rs +++ b/crates/dap_adapters/src/php.rs @@ -149,22 +149,8 @@ impl DebugAdapter for PhpDebugAdapter { "default": false }, "pathMappings": { - "type": "array", - "description": "A list of server paths mapping to the local source paths on your machine for remote host debugging", - "items": { - "type": "object", - "properties": { - "serverPath": { - "type": "string", - "description": "Path on the server" - }, - "localPath": { - "type": "string", - "description": "Corresponding path on the local machine" - } - }, - "required": ["serverPath", "localPath"] - } + "type": "object", + "description": "A mapping of server paths to local paths.", }, "log": { "type": "boolean",