{
    // 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": [
        // backend - python using fastapi
        {
            "name": "Backend - debug",
            "type": "debugpy",
            "request": "launch",
            "module": "uvicorn",
            "env": {
                "DEBUG": "true"
            },
            "args": [
                "--app-dir",
                "src",
                "main:app",
                "--reload",
            ],
            "jinja": true,
            "cwd": "${workspaceFolder}/backend"
        },
        {
            "name": "Backend - tester",
            "type": "debugpy",
            "request": "launch",
            "program": "src/tester.py",
            "env": {
                "DEBUG": "true"
            },
            "cwd": "${workspaceFolder}/backend"
        },
        // frontend - flutter app
        {
            "name": "Frontend - debug",
            "type": "dart",
            "request": "launch",
            "program": "lib/main.dart",
            "cwd": "${workspaceFolder}/frontend"
        },
        {
            "name": "Frontend - profile",
            "type": "dart",
            "request": "launch",
            "program": "lib/main.dart",
            "flutterMode": "profile",
            "cwd": "${workspaceFolder}/frontend"
        }
    ]
}