You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
I would guess that maybe there is a mis-match of files on your local system to the remote system and that is why it's never hitting (or at least that is what I experienced recently).
the applicable settings I had to set were:
"remotePath": "/app/root/dir/",
"cwd": "${workspaceFolder}/app/root/dir"
Although you should also post the rest of your launch.json
The vscode debug experience seems very rough currently, it doesn't seem to indicate if it's even able to reach a debug host for instance (ie, the port isn't even open on the target system, and never even connects).
You can add:
"tracing": "verbose",
and examine its output to look for oddities. Also, if possible, consider adding tcpflow to your target system, and then running this while attempting to attach debuggers (this is how i initially found my problems). For an alpine based docker container:
apk add tcpflow
tcpflow -i any -c
(-i is interface, and -c is Console print. Print the contents of packets, without storing in a file.)
Steps to Reproduce:
dlv
with--continue
option (recently added todlv
through cmd/dlv: add --continue to continue process on launch/attach go-delve/delve#1585). For example:The text was updated successfully, but these errors were encountered: