enigma-machine/.vscode/launch.json

45 lines
1.3 KiB
JSON
Raw Permalink Normal View History

2021-04-21 18:47:47 +00:00
{
// 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 'enigma'",
"cargo": {
"args": [
"build",
"--bin=enigma",
"--package=enigma"
],
"filter": {
"name": "enigma",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'enigma'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=enigma",
"--package=enigma"
],
"filter": {
"name": "enigma",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}