{"record":{"id":"6eacedbf785700ff","repo":"zed-industries/zed","slug":"failed-to-parse-runinterminalrequestarguments","errorCode":null,"errorMessage":"Failed to parse RunInTerminalRequestArguments","messagePattern":"Failed to parse RunInTerminalRequestArguments","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/project/src/debugger/session.rs","lineNumber":1209,"sourceCode":"                            url: None,\n                            url_label: None,\n                        }),\n                    })\n                    .ok();\n\n                    session\n                        .update(cx, |this, cx| {\n                            this.respond_to_client(\n                                request.seq,\n                                false,\n                                StartDebugging::COMMAND.to_string(),\n                                error,\n                                cx,\n                            )\n                        })?\n                        .await?;\n\n                    Err(anyhow!(\"Failed to parse RunInTerminalRequestArguments\"))\n                });\n            }\n        };\n\n        let seq = request.seq;\n\n        let (tx, mut rx) = mpsc::channel::<Result<u32>>(1);\n        cx.emit(SessionEvent::RunInTerminal {\n            request: request_args,\n            sender: tx,\n        });\n        cx.notify();\n\n        cx.spawn(async move |session, cx| {\n            let result = util::maybe!(async move {\n                rx.next().await.ok_or_else(|| {\n                    anyhow!(\"failed to receive response from spawn terminal\".to_string())\n                })?","sourceCodeStart":1191,"sourceCodeEnd":1227,"githubUrl":"https://github.com/zed-industries/zed/blob/9d272b036335401f339d024ea94968fd51016c40/crates/project/src/debugger/session.rs#L1191-L1227","documentation":"The debug adapter sent a runInTerminal request whose arguments could not be deserialized into RunInTerminalRequestArguments (schema mismatch or malformed payload). The session responds with a failure to the client and surfaces this error.","triggerScenarios":"Thrown at crates/project/src/debugger/session.rs:1209 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the adapter version — its runInTerminal arguments may not match the DAP structs expected here","Update or pin a compatible debug adapter version"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9d272b036335401f339d024ea94968fd51016c40","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}