2022-07-28 16:38:12 +02:00
|
|
|
{
|
|
|
|
// SPDX-FileCopyrightText: 2022 Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
|
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
2022-07-30 23:30:08 +02:00
|
|
|
"name": "Debug executable 'cook' -> groceries",
|
2022-07-28 16:38:12 +02:00
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin=cook",
|
|
|
|
"--package=cooking-schedule"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "cook",
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
2022-08-08 08:06:17 +02:00
|
|
|
"args": ["groceries", "Cucina", "Note/Spesa/Groceries.md"],
|
2022-08-02 15:41:55 +02:00
|
|
|
"env": {
|
|
|
|
"RUST_LOG": "debug",
|
|
|
|
},
|
|
|
|
"cwd": "${workspaceFolder}",
|
2022-07-28 16:38:12 +02:00
|
|
|
},
|
2022-07-30 23:30:08 +02:00
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug executable 'cook' -> schedule-csv",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin=cook",
|
|
|
|
"--package=cooking-schedule"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "cook",
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": ["schedule-csv", "Cucina", "examples/example-schedule.csv"],
|
2022-08-02 15:41:55 +02:00
|
|
|
"env": {
|
|
|
|
"RUST_LOG": "debug",
|
|
|
|
},
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug executable 'cook' -> purge",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin=cook",
|
|
|
|
"--package=cooking-schedule"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "cook",
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": ["purge", "Cucina"],
|
|
|
|
"env": {
|
|
|
|
"RUST_LOG": "debug",
|
|
|
|
},
|
2022-07-30 23:30:08 +02:00
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
2022-07-28 16:38:12 +02:00
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug unit tests in executable 'cook'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"--no-run",
|
|
|
|
"--bin=cook",
|
|
|
|
"--package=cooking-schedule"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "cook",
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": [],
|
2022-08-02 15:41:55 +02:00
|
|
|
"env": {
|
|
|
|
"RUST_LOG": "debug",
|
|
|
|
},
|
2022-07-28 16:38:12 +02:00
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|