{
    // 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": "Budibase Server",
            "type": "node",
            "request": "launch",
            "runtimeArgs": [
                "--nolazy",
                "-r",
                "ts-node/register/transpile-only"
            ],
            "args": [
                "${workspaceFolder}/packages/server/src/index.ts"
            ],
            "cwd": "${workspaceFolder}/packages/server"
        },
        {
            "name": "Budibase Worker",
            "type": "node",
            "request": "launch",
            "runtimeArgs": [
                "--nolazy",
                "-r",
                "ts-node/register/transpile-only"
            ],
            "args": [
                "${workspaceFolder}/packages/worker/src/index.ts"
            ],
            "cwd": "${workspaceFolder}/packages/worker"
        },
    ],
    "compounds": [
        {
          "name": "Start Budibase",
          "configurations": ["Budibase Server", "Budibase Worker"]
        }
    ]
}