Skip to main content

delve

Use this skill when the user wants to debug Go programs, set breakpoints, inspect variables, step through code, or debug Go tests.

来源信息

仓库
javimosch/supercli
最近来源活动
2026年6月23日 23:48
检测到的 SKILL.md 语言
英语
星标
51
Forks
7

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
delve
description
Use this skill when the user wants to debug Go programs, set breakpoints, inspect variables, step through code, or debug Go tests.
# delve Plugin Debugger for the Go programming language (binary: dlv). ## Commands ### Debug - `delve debug run` — Compile and debug a Go program - `delve exec run` — Debug a precompiled Go binary - `delve test run` — Debug Go tests - `delve connect run` — Connect to a headless debugger server - `delve dap run` — Start a DAP server ## Usage Examples - "Debug this Go program" - "Debug the Go binary" - "Run tests with delve" - "Start a headless debug server" ## Installation ```bash go install github.com/go-delve/delve/cmd/dlv@latest ``` ## Examples ```bash # Debug current package dlv debug # Debug with arguments dlv debug -- --arg1 value # Debug a compiled binary dlv exec ./myapp # Debug tests dlv test # Headless server mode dlv debug --headless --listen=:2345 --log # Connect to headless server dlv connect localhost:2345 # Start DAP server dlv dap ```
在 GitHub 查看