Next-gen code editor Zed adds integrated debugging with multi-language support
Zed, the modern and high-performance code editor, now supports integrated debugging, marking a major advance as it approaches version 1.0. The editor enables developers to debug code directly within Zed, out of the box supporting popular languages such as Rust, C and C++, JavaScript, Go, and Python. Beyond this, Zed’s extension system allows compatibility with any debug adapter that implements the Debug Adapter Protocol (DAP), allowing users to extend debugging to nearly any programming language.
Building on this debugging core, Zed has also introduced locators, a configuration feature that translates build tasks into debug setups. Developers can define a build task once in tasks.json and reference it in debug.json, or utilize Zed's automatic configuration for simpler setup. The locator system currently supports Cargo, Python, JavaScript, and Go, and Zed can run locators automatically based on built-in or language server-generated runnables — meaning most users won’t need to create manual debug configurations.
Zed offers a fully customizable debugging interface: The debugger panel supports tab rearrangement and can be moved to align with individual workflows. For those preferring keyboard-based navigation, Zed allows stepping through code and toggling breakpoints entirely via keyboard input. Debug sessions also provide visibility into threads, variables, breakpoints, and the call stack.
