-
Notifications
You must be signed in to change notification settings - Fork 646
"debug this test" option from editor not parsing flags #2894
Comments
@lfourky Are you passing flag via
I am able to pass flag value to tests and debug them from VSCode with this in place. |
Seems this issue has already been filed: #2115 |
I have tried to add the flag to "args", yes. Since @BojanKomazec and I had a conversation outside of this, we've come to the conclusion that debugging the tests by using the However, the issue still remains, when pressing the EDIT: Sorry, haven't seen the duplicate issue before. However, it's still ongoing, and I'm happy to provide any feedback if needed. |
The flags provided in the debug configuration in the launch.json file do not get used by the But the ones that get passed to |
If you are specifically looking for |
Thanks @ramya-rao-a for the
|
Thanks everyone. @ramya-rao-a I was not looking for |
Describe the solution you'd like
I would like to be able to pass flags to the debugger when debugging from the editor.
Describe alternatives you've considered
I was able to run
dlv
and pass flags to it from the terminal, so I guess there must be a way to pass flags when using the "debug this test" from the editor, as well.Example code that I would like to be able to debug from editor:
https://play.golang.org/p/5eZhpWSmhmp
The text was updated successfully, but these errors were encountered: