64 lines
2 KiB
JSON
64 lines
2 KiB
JSON
|
|
{
|
|||
|
|
// Используйте IntelliSense, чтобы узнать о возможных атрибутах.
|
|||
|
|
// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов.
|
|||
|
|
// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387
|
|||
|
|
"version": "0.2.0",
|
|||
|
|
"configurations": [
|
|||
|
|
{
|
|||
|
|
"type": "lldb",
|
|||
|
|
"request": "launch",
|
|||
|
|
"name": "Debug unit tests in library 'music_bot'",
|
|||
|
|
"cargo": {
|
|||
|
|
"args": [
|
|||
|
|
"test",
|
|||
|
|
"--no-run",
|
|||
|
|
"--lib",
|
|||
|
|
"--package=music_bot"
|
|||
|
|
],
|
|||
|
|
"filter": {
|
|||
|
|
"name": "music_bot",
|
|||
|
|
"kind": "lib"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"args": [],
|
|||
|
|
"cwd": "${workspaceFolder}"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"type": "lldb",
|
|||
|
|
"request": "launch",
|
|||
|
|
"name": "Debug executable 'music_bot'",
|
|||
|
|
"cargo": {
|
|||
|
|
"args": [
|
|||
|
|
"build",
|
|||
|
|
"--bin=music_bot",
|
|||
|
|
"--package=music_bot"
|
|||
|
|
],
|
|||
|
|
"filter": {
|
|||
|
|
"name": "music_bot",
|
|||
|
|
"kind": "bin"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"args": [],
|
|||
|
|
"cwd": "${workspaceFolder}"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"type": "lldb",
|
|||
|
|
"request": "launch",
|
|||
|
|
"name": "Debug unit tests in executable 'music_bot'",
|
|||
|
|
"cargo": {
|
|||
|
|
"args": [
|
|||
|
|
"test",
|
|||
|
|
"--no-run",
|
|||
|
|
"--bin=music_bot",
|
|||
|
|
"--package=music_bot"
|
|||
|
|
],
|
|||
|
|
"filter": {
|
|||
|
|
"name": "music_bot",
|
|||
|
|
"kind": "bin"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"args": [],
|
|||
|
|
"cwd": "${workspaceFolder}"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
}
|