{
    // 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",
      "protocol": "auto",
      "port": 5859,
      "timeout": 20000,
      "name": "Debug File in (env)",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/wdio",
      "cwd": "${workspaceRoot}",
      "console": "integratedTerminal",
      // This args config runs only the file that's open and displayed
      // (e.g., a file in test/spec/):
      "args": ["wdio.conf.js",
      // To debug the file in your VS Code current tab:
       "--spec", "${relativeFile}",
       "--baseUrl=http://localhost:5000/",
       "--cucumberOpts.tagExpression='@debug'"
      ]
    }]
  }
