{"record":{"id":"d0f5836028498323","repo":"zed-industries/zed","slug":"launch-request-failed","errorCode":null,"errorMessage":"launch request failed","messagePattern":"launch request failed","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/project/src/debugger/session.rs","lineNumber":3071,"sourceCode":"                                .await\n                                .ok();\n                            line.clear();\n                        }\n                    }));\n                }\n                background_tasks.push(cx.spawn({\n                    let mut console_output = console_output.clone();\n                    async move |_| match companion_process.status().await {\n                        Ok(status) => {\n                            if status.success() {\n                                console_output\n                                    .send(\"Companion process exited normally\".into())\n                                    .await\n                                    .ok();\n                            } else {\n                                console_output\n                                    .send(format!(\n                                        \"Companion process exited abnormally with {status:?}\"\n                                    ))\n                                    .await\n                                    .ok();\n                            }\n                        }\n                        Err(e) => {\n                            console_output\n                                .send(format!(\"Failed to join companion process: {e}\"))\n                                .await\n                                .ok();\n                        }\n                    }\n                }));\n            }\n\n            // TODO pass wslInfo as needed\n\n            let companion_address = format!(\"127.0.0.1:{companion_port}\");","sourceCodeStart":3053,"sourceCodeEnd":3089,"githubUrl":"https://github.com/zed-industries/zed/blob/9d272b036335401f339d024ea94968fd51016c40/crates/project/src/debugger/session.rs#L3053-L3089","documentation":"The POST to the browser companion's /launch-and-attach endpoint failed at the transport level (send returned Err), so the browser debug target was never launched. The companion is up but the request itself failed — connection reset, shutdown, or malformed serialization.","triggerScenarios":"Thrown at crates/project/src/debugger/session.rs:3039 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the launch; transient connection resets to the companion are common","Restart the browser companion if it keeps failing, and confirm the companion browser extension is still connected"],"exampleFix":null,"handlingStrategy":"retry","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"}