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": [] }