docs: Improve debug adapter documentation (#40441)

docs. docs. docs.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki
2025-10-17 00:36:47 +00:00
committed by GitHub
parent 4fa3331bf2
commit 908ae95cf8
9 changed files with 37 additions and 10 deletions
+4 -1
View File
@@ -294,10 +294,13 @@ There's a way to get custom completion items from rust-analyzer, that will trans
## Debugging
Zed supports debugging Rust binaries and tests out of the box. Run {#action debugger::Start} ({#kb debugger::Start}) to launch one of these preconfigured debug tasks.
Zed supports debugging Rust binaries and tests out of the box with `CodeLLDB` and `GDB`. Run {#action debugger::Start} ({#kb debugger::Start}) to launch one of these preconfigured debug tasks.
For more control, you can add debug configurations to `.zed/debug.json`. See the examples below.
- [CodeLLDB configuration documentation](https://github.com/vadimcn/codelldb/blob/master/MANUAL.md#starting-a-new-debug-session)
- [GDB configuration documentation](https://sourceware.org/gdb/current/onlinedocs/gdb.html/Debugger-Adapter-Protocol.html)
### Build binary then debug
```json [debug]