vscode launch file added for debugging

This commit is contained in:
dimeola 2019-12-12 02:49:52 +01:00
parent 1538a6d8d4
commit eca06d9208

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

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