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
Hi,
I want to debug a single .go file while performing stdin and stdout redirection to external text files. Using the legacy debug adapter, I can achieve this by specifying the corresponding dlvFlags:
However, if I try using the dlv-dap adapter, the redirection flags seem to be ignored. Is this expected behavior? Am I missing any extra settings to make this scenario work properly with the dlv-dap adapter?
For reference, I am using Go version 1.18 and vscode-go version 0.32.0, running on WSL2.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to debug a single
.go
file while performingstdin
andstdout
redirection to external text files. Using thelegacy
debug adapter, I can achieve this by specifying the correspondingdlvFlags
:However, if I try using the
dlv-dap
adapter, the redirection flags seem to be ignored. Is this expected behavior? Am I missing any extra settings to make this scenario work properly with thedlv-dap
adapter?For reference, I am using Go version 1.18 and vscode-go version 0.32.0, running on WSL2.
Beta Was this translation helpful? Give feedback.
All reactions