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",
|
"type": "lldb",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch",
|
"name": "Launch",
|
||||||
|
"cwd":"\${workspaceFolder}",
|
||||||
"program": "./${exe}",
|
"program": "./${exe}",
|
||||||
"args": []
|
"args": []
|
||||||
}
|
}
|
||||||
|
|
@ -20,6 +21,7 @@ snippet dap_python template of dap_config.json
|
||||||
"type": "debugpy",
|
"type": "debugpy",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch",
|
"name": "Launch",
|
||||||
|
"cwd":"\${workspaceFolder}",
|
||||||
"program": "./${file}",
|
"program": "./${file}",
|
||||||
"args": []
|
"args": []
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue