add vscode debug config
This commit is contained in:
parent
4997114458
commit
99c5a497f0
1 changed files with 24 additions and 0 deletions
24
.vscode/launch.json
vendored
Normal file
24
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
// 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": "Debug Dry Run",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "auto",
|
||||
"program": "${workspaceFolder}",
|
||||
"args": ["--config", "${workspaceFolder}/config.yaml", "--dry-run"]
|
||||
},
|
||||
{
|
||||
"name": "Debug",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "auto",
|
||||
"program": "${workspaceFolder}",
|
||||
"args": ["--config", "${workspaceFolder}/config.yaml", "--verbose"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue