1
0
Fork 0

Add launch configuration for debugging 'openvcs' library and executable

This commit is contained in:
Jordon Brooks 2025-06-22 15:10:55 +01:00
parent 8bc60e414e
commit 582cc63a61
Signed by: jordon
GPG key ID: DBD9758CD53E786A

64
src-tauri/.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 'openvcs_lib'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=openvcs"
],
"filter": {
"name": "openvcs_lib",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'openvcs'",
"cargo": {
"args": [
"build",
"--bin=openvcs",
"--package=openvcs"
],
"filter": {
"name": "openvcs",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'openvcs'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=openvcs",
"--package=openvcs"
],
"filter": {
"name": "openvcs",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}