From edaeecc54b1e28d799aaf5b5a2f63a55a9a5918d Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Mon, 6 Feb 2023 15:38:49 +0100 Subject: [PATCH] fix(vscode): set CWD properly when debugging Signed-off-by: Sam Therapy --- .vscode/launch.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index c2545ff..802d6d4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -17,7 +17,8 @@ "type": "go", "request": "launch", "mode": "auto", - "program": "${cwd}/cmd/pomme" + "program": "${workspaceFolder}/cmd/pomme", + "cwd": "${workspaceFolder}" } ], "compounds": [