Closed mbana closed 1 week ago
For whatever reason skaffold is installing version 1.20.x of delve which is too old for the version of go that you are using. You should report this problem to them.
@aarzilli, thanks.
For anyone else watching linked below are the relevant issues:
I am trying to debug a Kubernetes operator built using golang
1.22.3
. I am seeing these errors when I runskaffold debug
:When I attempt to attach VSCode or use
dlv
from the command line, I see 1. in the case of VSCode or sometimes 2. in the case ofdlv connect 127.0.0.1:56268
:[manager] 2024-06-24T17:33:14Z error layer=rpc writing response:write tcp 127.0.0.1:56268->127.0.0.1:39128: write: broken pipe
[manager] 2024-06-24T17:34:06Z error layer=rpc writing response:write tcp 127.0.0.1:56268->127.0.0.1:45034: use of closed network connection
Environment