Closed chengwei45254 closed 1 year ago
This isn't possible. The extension does not implement it's own debugger, it uses Microsoft's Python extension debugger. The Microsoft debugger only understands the Python language, it does not understand Gherkin.
Understood. Thanks for explanation.
p.s. I asked this feature because a C# BDD framework "SpecFlow" supports it ( https://docs.specflow.org/projects/specflow/en/latest/Execution/Debugging.html). I thought maybe it is also doable here.
Currently, we can set breakpoints at step definition (implementation) files. Is it possible that we can also set breakpoints directly at the steps in the feature files?
With this feature, we can trace the test execution from the very beginning of each step description. This will help us grab the test flow more clearly when debugging.
Thank you very much!