{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lldb",
            "request": "launch",
            "name": "Tauri: Debug Rust (Backend)",
            "cargo": {
                "args": [
                    "build"
                ],
                "filter": {
                    "kind": "bin"
                }
            },
            "program": "${workspaceFolder}/src-tauri/target/debug/ExoLauncher.exe",
            "cwd": "${workspaceFolder}/src-tauri",
            "env": {
                "RUST_LOG": "debug"
            },
            "preLaunchTask": "Start Tauri Dev"
        },
        {
            "type": "chrome",
            "request": "launch",
            "name": "Tauri: Debug Frontend (WebView)",
            "url": "http://localhost:5173",
            "webRoot": "${workspaceFolder}/src",
            "preLaunchTask": "Start Tauri Dev"
        }
    ]
}
