Skip to content

Commit d54cda6

Browse files
authored
Add debug option for Golang tests in vscode (grafana#61983)
1 parent 88347ca commit d54cda6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.vscode/launch.json

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
"console": "integratedTerminal",
2828
"internalConsoleOptions": "neverOpen",
2929
"port": 9229
30+
},
31+
{
32+
"name": "Debug Go test",
33+
"type": "go",
34+
"request": "launch",
35+
"mode": "test",
36+
"program": "${workspaceFolder}/${relativeFileDirname}",
37+
"showLog": true
3038
}
3139
]
3240
}

0 commit comments

Comments
 (0)