The Zed Debugger Is Here

https://news.ycombinator.com/rss Hits: 10
Summary

Over 2,000 developers asked, and we delivered. Debugging in Zed is now a reality—and it's a big leap toward Zed 1.0. We set out to build a debugger with three primary focuses: Fast: Spend less time context switching and more time debugging Familiar: In line with Zed's design language and supports everything expected from a typical debugger flow Configurable: You're able to customize the UI, keybindings, debug configurations and more Out of the box, Zed supports debugging popular languages including Rust, C/C++, JavaScript, Go, and Python. With our extension system, Zed can support any debug adapter that implements the Debug Adapter Protocol (DAP). To simplify the setup process, we've introduced locators, a system that translates build configurations into debug configurations. Meaning that you can write a build task once in tasks.json and reference it from debug.json — or, even better, rely on Zed's automatic configuration. Zed automatically runs locators on built-in or language server-generated runnables, so in many cases you won't even need to write a debug configuration to get up and running. We currently support locators for Cargo, Python, JavaScript, and Go, with more coming in the future. For more information on configuring a debug session, see our documentation. Once in a debug session, Zed makes it easy to inspect your program's state, such as threads, variables, breakpoints, the call stack, and more. Setting some breakpoints and running the test in a debug session. The debugger panel is fully customizable too, just drag and rearrange tabs in whatever order you want; you can even move the debug panel around so it fits your workflow. Zed also supports keyboard-driven debugging for users that prefer to keep their hands on the keyboard. You can step through code, toggle breakpoints, and navigate a debug session without ever touching the mouse. Navigating through the Debugger surfaces using only the keyboard. The debugger started as a community-led project with s...

First seen: 2025-06-19 04:54

Last seen: 2025-06-19 14:02