> As far as I can tell you can’t step through tests in the debugger
Maybe I am missing something, but that is not correct. You can debug tests the same way as you debug any other code. Even works with the mentioned/used Go extension for VS Code.
Maybe I am missing something, but that is not correct. You can debug tests the same way as you debug any other code. Even works with the mentioned/used Go extension for VS Code.
All I know is that hitting 'F5' in VSCode builds the binary and runs it under the debugger.
How would I debug the equivalent of `go test` in VSCode?
See https://twitter.com/ramyanexus/status/860190148239081472
If you want to configure F5 to launch tests instead of your main entry point, you can do that too in your launch.json file.