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.

Fix attach to process in Go debugger (#43898)

Mark Polonsky60312a3b04bf
diff --git a/crates/dap_adapters/src/go.rs b/crates/dap_adapters/src/go.rs
index 323ca094934..d3253d5fe25 100644
--- a/crates/dap_adapters/src/go.rs
+++ b/crates/dap_adapters/src/go.rs
@@ -366,7 +366,7 @@ impl DebugAdapter for GoDebugAdapter {
dap::DebugRequest::Attach(attach_config) => {
json!({
"request": "attach",
- "mode": "debug",
+ "mode": "local",
"processId": attach_config.process_id,
})
}