Debug Go programs with Delve (`dlv`). Use for panics, hangs, deadlocks, wrong control flow, goroutine analysis, conditional breakpoints, watchpoints, trace/core/replay workflows, headless or DAP sessions, and any case where runtime evidence matters more than static reasoning.
2026-05-08