質問

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