~/talk

Be Smug, Debug Why You Should Be a Delve Power User

Talkat GopherCon 2021 · 2021-12-05..12-08· [developer-experience, testing]
links:none on file
slides:none on file

Shows how Delve debugs web servers, tests, Docker containers and remote processes with concrete commands and configs: use -gcflags "-N -l" when building, run a headless Delve with headless debug server and fixed port 40000, attach via Delve or VS Code using a checked-in launch.json configs. Demonstrates trace vs log points, debug scripts (Starlark), fixing missing sources with substitutePath mapping, and automating Docker startup with VS Code prelaunch tasks so the setup actually works end-to-end.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 1:23Why use a debugger
  3. 2:21Core debugging features
  4. 3:23Advanced breakpoints
  5. 4:19Delve scripts
  6. 5:58Debugger setup overview
  7. 7:21CLI vs GUI debugging
  8. 8:40Simple local debugging
  9. 10:20VS Code configuration
  10. 13:26Debugging Go tests
  11. 14:43Tracing and logging
  12. 16:57Debugger architecture
  13. 18:24Attaching to processes
  14. 21:57Remote debugging
  15. 25:49Debugging Docker containers
  16. 32:48Automation and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.