{
    // 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": [
        {
            "type": "node",
            "request": "launch",
            "name": "Jest Tests",
            "program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
            "args": [ "--runInBand", "--ci", "--bail" ],
            //"preLaunchTask": "build",
            "internalConsoleOptions": "openOnSessionStart",
            "outFiles": [
                "${workspaceRoot}/dist/**/*"
            ],
            "env": { "CI": "true" }
            //"envFile": "${workspaceRoot}/.env"
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Debug Jest Tests",
            "runtimeArgs": [ "--nolazy", "--inspect-brk", 
                "${workspaceRoot}/node_modules/jest/bin/jest.js", 
                "--runInBand", "--coverage", "false", "--ci", "--bail" ],
            "console": "integratedTerminal",
            //"internalConsoleOptions": "openOnSessionStart",
            "port": 9229,
            "stopOnEntry": true
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Debug Benchmarks",
            "runtimeArgs": [ "--nolazy", "--inspect-brk", 
                "${workspaceRoot}/node_modules/ts-node/dist/bin.js",
                "${workspaceRoot}/benchmarks.ts" ],
            "console": "integratedTerminal",
            "port": 9229,
        }
    ]
}