There is a way to run and debug protractor web-tests in WebStorm. I just want to share this answer here
For mac OSX: on the left you can see tests folder structure
Like some of the other responses here, I found that I could run in release but couldn't run in Debug and it would just hang at some point. I found that I had the conf file set to target two browsers and it seems that this was too much for the debugger and it would hang without any more info. Targeting only a single browser fixed this issue for me.
Worked for me. It was looking for the protractor.conf.js in the wrong folder. Had to look up a couple dirs.
Application parameters: ../../protractor.conf.js
By the way if you need to pass additional parameters here is the configuration you need
This config works great in my project, where we solely rely on async/await syntax
I was experiencing the same problems described by comments to S.Panfilov's answer, i.e., running protractor in WebStorm worked fine, but the debugging process got stuck somewhere.
The issue is described here. It was occurring under Mac OS X with version 0.20.1 of protractor, and node v0.10.26.
The problem is solved in version 0.22.
which node
in your terminal)Node interpreter: Full path to Node.js (from step 1)
Working directory: home directory for the protractor tests.
Javascript file: Full path to node_modules/protractor/lib/cli.js
Application parameters: Full path to protractor-conf.js
Now you be able to run and debug tests by clicking on "Run" or "Debug" buttons on the top of IDE