Open lukatendai opened 1 day ago
I am running my program in a docker container:
/bin/dlv --headless=true --continue --accept-multiclient --listen=:5432 --api-version=2 exec test -- api-server -a 0.0.0.0:8883 --v 5 --log os:///stderr -w TRUE
When I use vscode and try to debug, nothing happens. However, when I remove option --continue, I can successfully debug
dlv version
go version
What do the logs say? You say "process starts and never stops at the breakpoint" but what breakpoint should it stop at? You didn't set any.
I am running my program in a docker container:
/bin/dlv --headless=true --continue --accept-multiclient --listen=:5432 --api-version=2 exec test -- api-server -a 0.0.0.0:8883 --v 5 --log os:///stderr -w TRUE
When I use vscode and try to debug, nothing happens. However, when I remove option --continue, I can successfully debug
dlv version
)? Version: 1.23.1go version
)? go version go1.23.3 darwin/arm64