{
    // 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": "Launch cucumber tests old",
            "runtimeExecutable": "node",
            "runtimeArgs": [
                "${workspaceFolder}/node_modules/.bin/cucumber-js"
            ],
            "port": 9229
        },
        {
            "name": "launch cucumber tests",
            "type": "node",
            "request": "launch",
            //"console": "integratedTerminal",
            "program": "${workspaceRoot}/node_modules/cucumber/bin/cucumber-js",
            "outputCapture": "std",
            "args": [
                "${workspaceRoot}/test/cucumber/features/**/*.feature",
                "-r",
                "${workspaceRoot}/test/cucumber/step-definitions/**/*",
                "-r",
                "${workspaceRoot}/test/cucumber/hooks/**/*",
                "-r",
                "${workspaceRoot}/test/cucumber/features/**/*.js",
                "--world-parameters",
                "{\"browser\":\"firefox\"}"
            ]
            // "preLaunchTask": "startWebDriver",
            // "postDebugTask": "stopWebdriver"
        },
        {
            "type": "node",
            "request": "launch",
            "name": "Launch Program",
            "program": "${workspaceFolder}/test/cucumber/cucumber-runner.js"
        },
        {
            "name": "Debug Mocha Tests",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
            "stopOnEntry": false,
            "args": ["--no-timeouts", "--colors", "${workspaceFolder}/test/unit"], //you can specify paths to specific tests here
            "cwd": "${workspaceRoot}",
            "console": "integratedTerminal",
            "internalConsoleOptions": "neverOpen",
            "env": {
              "NODE_ENV": "test"
            }
        },
        {
            "name": "DebugMochaTestsOriginal",
            "type": "node",
            "request": "attach",
            "port": 9229,
            "protocol": "inspector",
            "timeout": 30000,
            "stopOnEntry": false
          }
          
    ]
}