create vscode launch configuration
This commit is contained in:
parent
8a6e5b122b
commit
b85b3c679d
|
@ -53,4 +53,5 @@ tags
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/go,vim,code
|
# End of https://www.toptal.com/developers/gitignore/api/go,vim,code
|
||||||
|
|
||||||
config.yaml
|
config.yaml
|
||||||
|
__debug_*
|
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue