Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

debugger: Fix invalid schema for `pathMappings` (#31595)

Remco Smits00bc154c462b
diff --git a/crates/dap_adapters/src/php.rs b/crates/dap_adapters/src/php.rs
index 99e7658ff88..c7a429b6ec7 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",