Skip to content

Commit

Permalink
Add handy VS Code Run configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
mthmulders committed Oct 26, 2023
1 parent 139d51d commit 3b4d7c5
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'dsmr-rs'",
"cargo": {
"args": [
"build",
"--bin=dsmr-rs",
"--package=dsmr-rs"
],
"filter": {
"name": "dsmr-rs",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'dsmr-rs'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=dsmr-rs",
"--package=dsmr-rs"
],
"filter": {
"name": "dsmr-rs",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

0 comments on commit 3b4d7c5

Please sign in to comment.