/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docs/debugging-configs/vscode/debug-automated-tests/launch.json
27 строк
1003 B
Sarah French
Add .vscode/ to .gitignore, add launch configuration samples elsewhere in repo, update debugging docs (#36527)
19 фев 2025, 13:04
Не верифицирован
19 фев 2025, 13:04
6784407
Код
Авторство
О чём код?
{ "version": "0.2.0", "configurations": [ { // Highlight a test's name with your cursor and run this debugger configuration // from the debugger tools in the left-side Activity Bar. // This will result in the equivalent of this command being run using the debugger: // `go test -v -run ^<selected text>$ <the current opened file's folder path>` "name": "Run selected test", "request": "launch", "type": "go", "args": [ "-test.v", "-test.run", "^${selectedText}$" ], // Environment variables can be set from a file or as key-value pairs in the configuration. // "env": { // "MY_ENV": "my-value", // }, // "envFile": "./vscode/private.env", "mode": "auto", "program": "${fileDirname}", "showLog": true // dlv's logs } ] }