I was trying to debug Cucumber scenarios in Visual Studio code and made below changes in the launch.json.
launch.json
{ \"name\": \"e2e\",
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", ] }