chore(dev): add debug config for vscode (#4756)

* chore(dev): add debug config for vscode

* chore(ide): move vscode configs to an example folder
This commit is contained in:
Chaim Lev-Ari
2021-02-17 22:47:05 +02:00
committed by GitHub
parent 45afe76bc7
commit 590b6f69bf
3 changed files with 22 additions and 21 deletions

View File

@@ -0,0 +1,19 @@
{
// 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": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/api/cmd/portainer/main.go",
"cwd": "${workspaceRoot}",
"env": {},
"showLog": true,
"args": ["--data", "${env:HOME}/portainer-data", "--assets", "${workspaceRoot}/dist"]
}
]
}