high-soccer-36695
08/30/2022, 4:00 AMbland-eye-99092
08/30/2022, 7:12 AMhigh-soccer-36695
08/30/2022, 2:58 PMbland-eye-99092
08/30/2022, 3:40 PMGo
extension, read more about that here: https://code.visualstudio.com/docs/languages/go
Now you’ll need to set-up the testing parameters to start the tests correctly. You do this, by adding "go.testTags": "sqlite,json1",
to your settings.json
(press Ctrl+P or CMD+P and chose Preferences: Open user settings (JSON)
. Now paste "go.testTags": "sqlite,json1",
into it and save.
To debug the test go to identity/handler_test.go
and scroll to the line where your tests is, should be 270.
Set a break-point inside your test case, and choose Go: Debug Test At Cursor
from the context menu (right click inside your testcase).
Now you should be able to debug the test using the default VSCode interface.high-soccer-36695
08/30/2022, 3:59 PM