add vscode debugging config
Seto Elkahfi committed
Aug 4, 2024 at 19:33 UTC
eb928aafde0128cb06a3024dd3498b9de0c9b1ac
1 file changed
+36
.vscode/launch.json
new
+36
@@ -0,0 +1,36 @@
1
+{
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "type": "lldb",
9
+ "request": "launch",
10
+ "name": "Splitfire Desktop Development Debug",
11
+ "cargo": {
12
+ "args": [
13
+ "build",
14
+ "--manifest-path=./frontend/splitfire-desktop/src-tauri/Cargo.toml",
15
+ "--no-default-features"
16
+ ]
17
+ },
18
+ // task for the `beforeDevCommand` if used, must be configured in `.vscode/tasks.json`
19
+ "preLaunchTask": "ui:dev"
20
+ },
21
+ {
22
+ "type": "lldb",
23
+ "request": "launch",
24
+ "name": "Splitfire Desktop Tauri Production Debug",
25
+ "cargo": {
26
+ "args": [
27
+ "build",
28
+ "--release",
29
+ "--manifest-path=./frontend/splitfire-desktop/src-tauri/Cargo.toml"
30
+ ]
31
+ },
32
+ // task for the `beforeBuildCommand` if used, must be configured in `.vscode/tasks.json`
33
+ "preLaunchTask": "ui:build"
34
+ }
35
+ ]
36
+}
\ No newline at end of file