Protractor's debugger() method works by scheduling a node debug breakpoint on the control flow.
This is the line you are looking for. what this means is when you are entering into repl mode from browser.debugger() and trying to locate/perform actions on elements, it queues up in the control flow! that is the reason it just shows the queued up tasks.You could check yours if you look closely!
Now if you come out of repl mode (ctrl+c) and press c the execution resumes and it executes your action which was queued up first you can check it
I agree the documentation is not full proof and clear but you can get an idea by reading it first - http://www.protractortest.org/#/debugging
Protactor's debugger uses node's debugger so you should also read about that - https://nodejs.org/api/debugger.html
If you want to debug your scripts with repl mode I would suggest use
Note: You could also change the ports by just passing the argument
browser.pause(6767); --> would start in port 6767
brower.enterRepl(4545); --> would start in port 4545
failed to work? What is happening? Thanks.