Skip to content

Instantly share code, notes, and snippets.

@haitch
Created June 21, 2019 22:55
Show Gist options
  • Save haitch/f8cfcca3623d883cbc035caa1e499969 to your computer and use it in GitHub Desktop.
Save haitch/f8cfcca3623d883cbc035caa1e499969 to your computer and use it in GitHub Desktop.
vscode global setting :: debug go test with current package
{
"launch": {
"configurations": [
{
"type": "go",
"request": "launch",
"mode": "test",
"name": "[Global] go test current package",
"program": "${fileDirname}",
"cwd": "${fileDirname}",
}
]
}
}
@haitch
Copy link
Author

haitch commented Aug 30, 2019

  1. switch to test file
    • add Focus if this is Ginkgo
  2. press F5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment