Debugging does not start, the debugger listens on port 5858

I'm trying to debug my protractor tests, but for the starting point, I'm just trying to learn elementExplorer. When I type protractor --elementExplorer, I get the following output, and chrome opens with data:,. This is what I see on the console:

Starting selenium standalone server...

Selenium standalone server started at http://MYIPADDRESS:59672/wd/hub

Starting debugger agent.

Debugger listening on port 5858

Nothing happens after that for many minutes, and I can’t even enter cmd at the Node.js prompt, as it just hangs there. May exit this with Ctrl C.

FYI my tests at photographers work fine, but debugging doesn't work.

+4
source share
1 answer

, , , , " " browser.pause(); .

, debug>, browser.pause();, "c", , browser.pause();, repl

connecting to port 5858... ok                                                       
debug> c                                                                            
debug> Selenium standalone server started at http://10.3.3.227:60726/wd/hub
break in /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:70                                                                  
debug> repl                                                                         
Press Ctrl + C to leave debug repl                                                  
>
+4

All Articles