Created
May 13, 2022 14:30
-
-
Save xh3b4sd/6a0cb77ff458f85d8ef1a980a9511f3b to your computer and use it in GitHub Desktop.
VS Code debugger configuration for debugging a single test of the currently open test file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Test Current File", | |
"type": "go", | |
"request": "launch", | |
"mode": "test", | |
"program": "${workspaceFolder}/${relativeFileDirname}", | |
"args": [ | |
"-test.run", | |
"Test_Bidder_size_ope/004" | |
] | |
} | |
] | |
} |
Author
xh3b4sd
commented
Aug 6, 2022
Put this in any project root.
.vscode/launch.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment