ardanlabs / service

Starter-kit for writing services in Go using Kubernetes.

Home Page:https://www.ardanlabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using delve debugger

azdanov opened this issue · comments

Hello!

What would be the correct way of using a delve or goland debug in the k8s environment?

I've read some articles online about remote debugging and became curious about an "official" approach aligned with the rest of the service repo.

Amazing project by the way, with lots of stuff to learn. Thanks for making it. 🙂

This is an amazing question. Derek Parker has some video content on debugging in a container. He is actually teaching classes for Ardan about Delve.

YouTube Content:
https://www.youtube.com/playlist?list=PLADD_vxzPcZBe08-FpTfdgaLwU51X7ooE

Free Event Aug 31st:
https://www.ardanlabs.com/live-training-events/debugging-go-programs-containers-aug-31-2022.html