Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top