{
    // 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": "Single test",
            "program": "${workspaceFolder}/test/${input:unitTest}",
            "runtimeArgs": [
                "--preserve-symlinks",
                "--nolazy",
                "--max_old_space_size=500000"
            ],
            "linux": {
                "outputCapture": "std",
                "protocol": "inspector"
            },
            "windows": {
                "outputCapture": "std",
                "protocol": "inspector"
            }
        },
        {
            "name": "Unit tests",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/tap/bin/run.js",
            "stopOnEntry": false,
            "args": [
                "-J",
                "-T",
                "--node-arg=--preserve-symlinks",
                "test"
            ],
            "cwd": "${workspaceRoot}",
            "preLaunchTask": null,
            "runtimeExecutable": null,
            "runtimeArgs": [
                "--nolazy"
            ],
            "env": {
                "UT_ENV": "test",
                "NODE_PATH": "${workspaceRoot}/dev"
            },
            "sourceMaps": false,
            "outputCapture": "std",
            "linux": {
                "protocol": "inspector"
            }
        }
    ],
    "inputs": [{
        "id": "unitTest",
        "type": "pickString",
        "description": "Pick test to run",
        "options": [
            "balance.test",
            "changePin.test",
            "customisation.test",
            "init.test",
            "solicited.test",
            "transfer.test",
            "unsolicited.test",
            "withdraw.test"
        ]
    }]
  }