This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Description
I'm pretty new to the Protractor debugging scene, so kindly bear with me. Running OSX 10.10, Node 0.12.0, and Protractor 2.0.0 installed locally via grunt-protractor-runner. The compy's firewall is off.
I have a test that fails to work as expected. My intention, then, was to throw in a browser.debugger() and then run protractor in debug mode.
I did a quick check to make sure nothing was running on port 5858:
$ netstat -ant | grep 5858
$
Then I started Protractor and immediately got an EADDRINUSE error:
$ ./node_modules/grunt-protractor-runner/node_modules/protractor/bin/protractor debug protractor-local.conf.js
Starting selenium standalone server...
[launcher] Running 1 instances of WebDriver
Starting debugger agent.
Debugger listening on port 5858
< Error: listen EADDRINUSE
< at exports._errnoException (util.js:746:11)
< at Agent.Server._listen2 (net.js:1129:14)
< at listen (net.js:1155:10)
< at Agent.Server.listen (net.js:1240:5)
< at Object.start (_debugger_agent.js:20:9)
< at startup (node.js:86:9)
< at node.js:814:3
connecting to port 5858... ok
I exited and tried the first command, only to find still nothing is running on 5858. It's as if it's blocking itself.