From 35a119d573f89051812410eb3d120cf6d0b8c15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Di=C3=B3genes=20Castro?= <22321454+diogenesc@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:51:09 -0300 Subject: [PATCH] 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 --- docs/src/debugger.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/src/debugger.md b/docs/src/debugger.md index a87b6e21a7..4942fb00db 100644 --- a/docs/src/debugger.md +++ b/docs/src/debugger.md @@ -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