zed-industries/zed · error

Debugging is not yet supported via collab

Error message

Debugging is not yet supported via collab

What it means

A guest in a shared (collab) session attempted to start debugging; DapStore's remote path hit an explicit capability guard because launching debug adapters on the host is not implemented for collab participants.

Solutions

  1. Run the debug session from the host's own Zed instance instead of as a guest
  2. Wait for collab debugging support if on a shared project
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at crates/project/src/debugger/dap_store.rs:367 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zed-industries/zed@f4178619ac (2026-08-20). Data as JSON: /api/errors/94c068278f2a9adb. Report an issue: GitHub.

Appendix: source

Thrown at crates/project/src/debugger/dap_store.rs:367

                            &binary.envs,
                            binary.cwd.map(|path| path.display().to_string()),
                            port_forwarding,
                            Interactive::No,
                        )
                    })?;

                    Ok(DebugAdapterBinary {
                        command: Some(command.program),
                        arguments: command.args,
                        envs: command.env,
                        cwd: None,
                        connection,
                        request_args: binary.request_args,
                    })
                })
            }
            DapStoreMode::Collab => {
                Task::ready(Err(anyhow!("Debugging is not yet supported via collab")))
            }
        }
    }

    pub fn debug_scenario_for_build_task(
        &self,
        build: TaskTemplate,
        adapter: DebugAdapterName,
        label: SharedString,
        cx: &mut App,
    ) -> Task<Option<DebugScenario>> {
        let locators = DapRegistry::global(cx).locators();

        cx.background_spawn(async move {
            for locator in locators.values() {
                if let Some(scenario) = locator.create_scenario(&build, &label, &adapter).await {
                    return Some(scenario);
                }

View on GitHub (pinned to f4178619ac)