{
    // 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": [
        {
            "name": "Launch Golang",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceFolder}/machinery/main.go",
            "args": [
                "-action",
                "run",
                "-port",
                "8080"
            ],
            "envFile": "${workspaceFolder}/machinery/.env.local",
            "buildFlags": "--tags dynamic",
        },
        {
            "name": "Launch React",
            "type": "node",
            "request": "launch",
            "cwd": "${workspaceFolder}/ui",
            "runtimeExecutable": "yarn",
            "runtimeArgs": [
                "start"
            ],
        }
    ]
}