{
    // 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": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceRoot}/dist/index.js",
            "outFiles": []
        },
        {
            "type": "node",
            "request": "attach",
            "name": "Attach to Port",
            "address": "localhost",
            "port": 5858,
            "outFiles": []
        },
        {
            "name": "Run mocha",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
            "stopOnEntry": false,
            "env": {
                "TS_NODE_PROJECT": "${workspaceRoot}/tsconfig.json"
            },
            "args": ["--opts", "${workspaceRoot}/test/mocha.opts"],
            "cwd": "${workspaceRoot}",
            "protocol": "inspector",
            "sourceMaps": true,
            "smartStep": true
        }
    ]
}
