royal_road_archiver/.vscode/launch.json

64 lines
2 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 library 'royal_road_archiver_lib'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=royal_road_archiver"
],
"filter": {
"name": "royal_road_archiver_lib",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'royal_road_archiver_bin'",
"cargo": {
"args": [
"build",
"--bin=royal_road_archiver_bin",
"--package=royal_road_archiver"
],
"filter": {
"name": "royal_road_archiver_bin",
"kind": "bin"
}
},
"args": ["https://www.royalroad.com/fiction/22848/post-human", "markdown"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'royal_road_archiver_bin'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=royal_road_archiver_bin",
"--package=royal_road_archiver"
],
"filter": {
"name": "royal_road_archiver_bin",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}