Re:Porting 4.5K lines of C to Go
by lukehoban on Saturday August 05, 2017 @01:18AM
(#14934345)
In Go test files, there's now a codelens annotation above every Test function with "run test" and "debug test" commands. Just click "debug test" to launch a debugger against that test.
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.