How to debug Cucumber in Visual Studio Code (VSCode)?

前端 未结 4 1834
既然无缘
既然无缘 2021-01-02 09:57

I was trying to debug Cucumber scenarios in Visual Studio code and made below changes in the launch.json.

{
            \"name\": \"e2e\",
              


        
4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-02 10:28

    When working with Ruby, it could be used on this way to run specific feature files:

    {
        "name": "Cucumber",
        "type": "Ruby",
        "request": "launch",
        "cwd": "${workspaceRoot}",
        "program": "${workspaceRoot}/bin/cucumber",
        "args": [
            "--tags", "@Mytags",
            ]
    }
    

提交回复
热议问题