create vscode launch configuration

This commit is contained in:
Massaki Archambault 2024-12-29 16:16:53 -05:00
parent 8a6e5b122b
commit b85b3c679d
2 changed files with 22 additions and 1 deletions

3
.gitignore vendored
View File

@ -53,4 +53,5 @@ tags
# End of https://www.toptal.com/developers/gitignore/api/go,vim,code
config.yaml
config.yaml
__debug_*

20
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
// 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": "Run",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}",
"args": [
"-debug",
"-config",
"${workspaceRoot}/config.yaml"
]
}
]
}