Can't debug protractor in Webstorm (it just hangs)

All we need is an easy explanation of the problem, so here it is.

I’ve got an Angular project that I’ve written a protractor test against, and can’t seem to get debugging to work in Webstorm. When I click the Run for my Prototype configuration, it tests successfully. But if I try the Debug button, I get something in the Variables window along the lines of:

--!  Connected to

But it just hangs there – no further processing, and no browser window launched. Is there something I need to configure to get this working?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

That was a Protractor issue, which should be fixed now:

“Fix is in – should be out next release. Thanks for your patience, everyone.” – @juliemr

from GitHub issue #552

EDIT: Released in 0.20.0 version! (0.20.1 for Windows users). See Protractor changelog.

Method 2

Try watching this video and let me know if it works.

Update: this is a bug in 19 / 20.1

Try using an older version until it gets resolved.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply