{
    "version": "1.0.0",
    "configurations": [
        {
            "name": "Launch local sam API",
            "request": "launch",
            "type": "chrome",
            "url": "http://localhost:3000",
            "webRoot": "${workspaceFolder}/{{lambdaFunctionName}}/hello-world",
            "preLaunchTask": "sam: start api"
        },
        {
            "name": "Debug current test file",
            "type": "node",
            "request": "launch",
            "runtimeArgs": [
                "${workspaceRoot}/{{lambdaFunctionName}}/hello-world/node_modules/.bin/mocha",
                "--inspect-brk",
                "${relativeFile}",
            ],
            "console": "integratedTerminal",
        },
        {
            "name": "Debug all test files",
            "type": "node",
            "request": "launch",
            "runtimeArgs": [
                "${workspaceRoot}/{{lambdaFunctionName}}/hello-world/node_modules/.bin/mocha",
                "${workspaceRoot}/{{lambdaFunctionName}}/hello-world/tests/**/*"
            ],
            "console": "integratedTerminal",
        },
    ]
}
