1

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 127.0.0.1:52686

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

roland
  • 7,695
  • 6
  • 46
  • 61
Marty
  • 1,182
  • 2
  • 13
  • 22
  • Which version of Protractor are you using? There are opened issues about [debugging with v 0.19.0](https://github.com/angular/protractor/issues/552) and [in Webstorm](https://github.com/angular/protractor/issues/363). – glepretre Feb 28 '14 at 07:41
  • I am using v0.19.0. Thanks, I'll look at the issues! – Marty Feb 28 '14 at 14:43

2 Answers2

1

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

http://www.youtube.com/watch?v=VLMyI7QKcwg

Update: this is a bug in 19 / 20.1 https://github.com/angular/protractor/issues/603

Try using an older version until it gets resolved.

Andres D
  • 8,910
  • 2
  • 26
  • 31
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.

glepretre
  • 8,154
  • 5
  • 43
  • 57