Skip to content

Commit

Permalink
Improving debug config with cppvsdbg
Browse files Browse the repository at this point in the history
  • Loading branch information
lookbusy1344 committed May 3, 2024
1 parent 65f66ce commit 219ea92
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions .vscode/launch.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"type": "lldb",
"request": "launch",
"name": "Debug with lldb params",
"name": "Debug with lldb",
"cargo": {
"args": [
"build",
Expand All @@ -16,39 +16,27 @@
}
},
"args": [
"C:\\Users\\name\\Documents\\*.txt",
"-d"
"C:\\Users\\name\\Documents\\*.txt",
"--debug",
"--single-thread"
],
"cwd": "${workspaceFolder}",
"console": "externalTerminal"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug with lldb",
"cargo": {
"args": [
"build",
"--bin=hash_rust",
"--package=hash_rust"
],
"filter": {
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"name": "Debug with cppvsdbg",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceRoot}/target/debug/hash_rust.exe",
"args": [],
"args": [
"C:\\Users\\name\\Documents\\*.txt",
"--debug",
"--single-thread"
],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true
"console": "externalTerminal"
},
{
"type": "lldb",
Expand Down

0 comments on commit 219ea92

Please sign in to comment.