fix(vscode): set CWD properly when debugging

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-02-06 15:38:49 +01:00
parent 7ba7592d54
commit edaeecc54b
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 2 additions and 1 deletions

3
.vscode/launch.json vendored
View File

@ -17,7 +17,8 @@
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${cwd}/cmd/pomme"
"program": "${workspaceFolder}/cmd/pomme",
"cwd": "${workspaceFolder}"
}
],
"compounds": [