pomme/.vscode/launch.json
Sam Therapy edaeecc54b
fix(vscode): set CWD properly when debugging
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-06 15:38:49 +01:00

31 lines
No EOL
725 B
JSON

{
// 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": "Frontend",
"request": "launch",
"runtimeArgs": ["-F", "frontend", "dev"],
"runtimeExecutable": "pnpm",
"skipFiles": ["<node_internals>/**"],
"type": "node"
},
{
"name": "Backend",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/pomme",
"cwd": "${workspaceFolder}"
}
],
"compounds": [
{
"name": "Frontend & Backend",
"configurations": ["Frontend", "Backend"],
"stopAll": true
}
]
}