I have set up an angular application using Yeoman generator. It works fine, builds fine and unit tests work. I have also added Protractor for e2e tests.

I've set up Webstorm to run the unit tests as a Node.js run configuration, which executes grunt-cli\bin\grunt with the test build task. It runs fine from the IDE.

However when I'm trying to debug, the execution never stops on breakpoints.

The console output is of little help. The tests simply succeed/fail as expected and that's it.

What could be wrong?

有帮助吗?

解决方案

it doesn't seem to be possible to debug protractor tests in webstorm right now. Please vote for protractor support: WEB-9236

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top