Setup debugging configuration

This commit is contained in:
Natsu Kagami 2019-12-23 11:57:42 -05:00
parent 48bbb070be
commit 24e3db2360

82
.vscode/launch.json vendored Normal file
View file

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