phantomjs icon indicating copy to clipboard operation
phantomjs copied to clipboard

Remote Debugging - Console "dead"

Open arrmo opened this issue 9 years ago • 7 comments

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version. v2.1.1 (Ubuntu 16.04 LTS)

  2. What steps will reproduce the problem?

  3. Start phantomjs, with remote debugging on (--remote-debugger-port=9000)

  4. Connect to the debugger (http://localhost:9000). This works fine, see the debugger interface, files, etc.

  5. Try to start the program ... the console is non-responsive. For example __run() -> carriage return just line feeds, does not start the program. I can also try to auto-start, but even with debugger; in place it doesn't stop and debug. BTW, I added debugger; to the JS file, and even with refresh it's not showing up in the Webkit debugger.

  6. Which operating system are you using? Ubuntu 16.04 LTS.

  7. Did you use binary PhantomJS or did you compile it from source? Binary, from Ubuntu install.

  8. Please provide any additional information below.

arrmo avatar Jan 08 '17 20:01 arrmo

Same issue. Windows 10. Binary.

hitok avatar Jan 22 '17 17:01 hitok

I am also having the same issues on Mac and Windows. I can get the script to halt but I can never get localhost to show the about:blank link. I'm on -v 2.1.1

dillonsvincent avatar Feb 02 '17 22:02 dillonsvincent

This seems to only work in Safari. Broken in Chrome and Firefox

sontek avatar Feb 14 '17 05:02 sontek

Same issue here.

Chrome and Firefox. Tested on Ubuntu 16.10 and Windows 7.

jesobreira avatar Feb 16 '17 04:02 jesobreira

Got Same issue. Windows 7, Chrome 57. Found a temporary solution in #14826 .

xlzhao avatar Apr 13 '17 03:04 xlzhao

Same issue with Ubuntu 14.04.5 LTS

Workaround for GTD: write __run() in any of source file and Evaluate in Console will work.

rga-odoo avatar Jul 12 '17 09:07 rga-odoo

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

stale[bot] avatar Dec 29 '19 08:12 stale[bot]