add cwd to snippets for DAP
This commit is contained in:
parent
533d663e87
commit
ba3bb69890
1 changed files with 2 additions and 0 deletions
|
|
@ -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": []
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue