{
    // 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": "Debug Mocha tests",
            "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
            "stopOnEntry": false,
            "args": [
                "-t",
                "10000",
                "--reporter",
                "spec",
                "--ui",
                "tdd",
                "--require",
                "ts-node/register",
                "./test/**/*.test.js"
            ],
            "cwd": "${workspaceRoot}",
            "preLaunchTask": "ts-build",
            "runtimeArgs": [
                "--nolazy"
            ],
            "console": "internalConsole",
            "sourceMaps": true
        }
    ]
}
// {
//     "type": "node",
//     "request": "launch",
//     "name": "Debug Program",
//     "program": "${workspaceRoot}/src/program.js",
//     "cwd": "${workspaceRoot}",
//     "runtimeArgs": [
//         "--nolazy"
//     ],
//     "console": "internalConsole",
//     "sourceMaps": true
// }