TheBrainFamily / cypress-cucumber-example

Example of using Cypress with Cucumber
MIT License
195 stars 120 forks source link

Debug code without cypress open #33

Closed AndreyMelnichenko closed 2 years ago

AndreyMelnichenko commented 2 years ago

Can I stop the code executing by break point at some row into *.steps.ts using run and debug mode into VSCode?

At the moment code execute till the end of test. My launch.json

    "version": "0.2.0",
    "configurations": [
        {
            "type": "node-terminal",
            "request": "launch",
            "name": "CY-DEBUG",
            "skipFiles": ["<node_internals>/**"],
            "command": "./node_modules/.bin/cypress-tags run -e TAGS='@debug'",
            "env": {
                "SHA":"46ef8ca8788d6e9d97c8d673857e964681df1895",
                "BUILD_ID":"2848972426"
            }
        }
    ]
}
AndreyMelnichenko commented 2 years ago

not actual