{
    // Use IntelliSense to learn about possible Node.js debug 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": "chrome",
            "request": "launch",
            "name": "Launch Chrome",
            "url": "http://localhost:8080",
            "webRoot": "${workspaceRoot}/profile/index.html"
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Run debug code",
            "program": "${workspaceRoot}/src/debug.ts",
            "cwd": "${workspaceRoot}",
            "outFiles": ["${workspaceRoot}/lib/**/*.js"]
        },
        {
            "name": "Run mocha",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
            "stopOnEntry": false,
            "args": ["test/*.ts", "--no-timeouts", "--compilers", "ts:ts-node/register", "--colors"],
            "cwd": "${workspaceRoot}",
            "runtimeExecutable": null,
            "env": { "NODE_ENV": "testing"},
            "runtimeArgs": [
                "--nolazy"
            ],
            "sourceMaps": true,
            "outFiles" : [
                "${workspaceRoot}/test/out/**/*.js"
                ]


        }
    ]
}
