From 582cc63a613ceb0e9bf8ffff4e2655dd892bb422 Mon Sep 17 00:00:00 2001 From: Jordon Brooks Date: Sun, 22 Jun 2025 15:10:55 +0100 Subject: [PATCH] Add launch configuration for debugging 'openvcs' library and executable --- src-tauri/.vscode/launch.json | 64 +++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 src-tauri/.vscode/launch.json diff --git a/src-tauri/.vscode/launch.json b/src-tauri/.vscode/launch.json new file mode 100644 index 0000000..3dca591 --- /dev/null +++ b/src-tauri/.vscode/launch.json @@ -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}" + } + ] +} \ No newline at end of file