Debugging Go Code in VS Code
summary
Shows concrete VS Code Go debugger changes: implemented add/remove breakpoints while running by sending Delve halt → set breakpoint → continue, added attach to local process (delve attach) support and promises upcoming remote attach improvements, exposes configurable stacktrace depth (default 20), wires variable pane actions (set/copy) to Delve and displays pointer addresses. All five features land in releases this year, received around 60 community contributors and a peak month with 45 PRs from 35 contributors, and are reported working in practice.
AI-written summary · about
chapters (6)
- 0:00Top 5 improvements to Debugging Go Code in VS Code
- 1:15Add/remove breakpoints when in the middle of debugging
- 2:15Attach to an already running local program
- 3:40Configurable Stacktrace depth
- 4:19Improvements to the Variables pane
- 4:58Show pointer address
related talks
06mIGNITE: Swiss knife for Go debugging with VSCode
35mBe Smug, Debug Why You Should Be a Delve Power User
30mWhat's New in Visual Studio Code - Remote Dev, IntelliSense, Build/Debug...
05mDebugging - A dive into Breakpoints
59mUnleash the Power of Visual Studio Code
41mThe evolution of DevX
41mDebugging Tips and Tricks with Visual Studio
52mNew in Visual Studio: CMake Debugger, Better Diagnostics, and Video Games
