From ba3bb69890ce2ec2fa8628a020f6a78e47f895a1 Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Sat, 4 Jan 2025 17:38:48 +0100 Subject: [PATCH] add cwd to snippets for DAP --- snippets/json.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/json.snippets b/snippets/json.snippets index 0b4fc2f..1292d3b 100644 --- a/snippets/json.snippets +++ b/snippets/json.snippets @@ -6,6 +6,7 @@ snippet dap_cpp template of dap_config.json "type": "lldb", "request": "launch", "name": "Launch", + "cwd":"\${workspaceFolder}", "program": "./${exe}", "args": [] } @@ -20,6 +21,7 @@ snippet dap_python template of dap_config.json "type": "debugpy", "request": "launch", "name": "Launch", + "cwd":"\${workspaceFolder}", "program": "./${file}", "args": [] }