Add Go debugging example to debugger documentation (#31798)

This pull request updates the documentation for the debugger to include
Go-specific examples alongside existing Python examples.

Documentation update:

*
[`docs/src/debugger.md`](diffhunk://#diff-aa14715cca56f3ad6a32c669b0c317250dab212b8108136b7ca79217465f39b8R69-R80):
Added a new "Go examples" section with a JSON snippet demonstrating how
to configure the debugger for Go using Delve.

Release Notes:

- debugger: Add Go debugging example to debugger documentation

---------

Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
Diógenes Castro 2025-06-06 16:51:09 -03:00 committed by GitHub
parent bbf3b20fc3
commit 35a119d573
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,6 +109,20 @@ Automatic scenario creation is currently supported for Rust, Go and Python. Java
### Example Configurations
#### Go
```json
[
{
"label": "Go (Delve)",
"adapter": "Delve",
"program": "$ZED_FILE",
"request": "launch",
"mode": "debug"
}
]
```
#### JavaScript
##### Debug Active File