advent-of-code/.vscode/launch.json
Felix Spöttel d0b923f727
fix: rename package to advent_of_code (#13)
`aoc` shadowed the `aoc-cli` binary which could lead to issues.

closes #12
2022-11-29 20:17:00 +01:00

50 lines
1.6 KiB
JSON

{
// 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 unit tests in executable 'advent_of_code'",
"cargo": {
"args": ["test", "--no-run", "--bin=advent_of_code", "--package=advent_of_code"],
"filter": {
"name": "advent_of_code",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'advent_of_code'",
"cargo": {
"args": ["build", "--bin=advent_of_code", "--package=advent_of_code"],
"filter": {
"name": "advent_of_code",
"kind": "bin"
}
},
"args": ["1"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'advent_of_code'",
"cargo": {
"args": ["test", "--no-run", "--lib", "--package=advent_of_code"],
"filter": {
"name": "advent_of_code",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}