advent-2022-rust/.vscode/launch.json
2023-07-26 22:09:11 +02:00

61 lines
No EOL
1.7 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 executable 'advent2022'",
"cargo": {
"args": [
"build",
"--bin=advent2022",
"--package=advent2022"
],
"filter": {
"name": "advent2022",
"kind": "bin"
}
},
"args": [
"${input:program}"
],
"cwd": "${workspaceFolder}",
"sourceLanguages": [
"rust"
]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'advent2022'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=advent2022",
"--package=advent2022"
],
"filter": {
"name": "advent2022",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": [
"rust"
]
}
],
"inputs": [
{
"id": "program",
"type": "promptString",
"default": "day",
"description": "Which day shall I run?"
}
]
}