Issue 6 - phantomjs - Debugging with Web Inspector - headless WebKit with JavaScript API - Google Project Hosting

Issue 6 - phantomjs - Debugging with Web Inspector - headless WebKit with JavaScript API - Google Project Hosting

I am very a glad to see debugging feature in phantomJS, you rock guys. But please, give a short explanation on how to use it! I compiled phantom 1.5 from source yesterday (ubuntu 10.04 64 bit), then wrote a simple console.log('hello world'); phantom.exit(); - it works and runs successfully. Then i run it with option --remote-debugger-port=9000, open localhost:9000 in Chrome and all is ok - inspector tabs and everything is on my screen. I went to 'scripts' tab, my phantom script was there. I put a breakpoint and cant run the script! how should i start the execution? There is no 'run' button there. I tried to refresh the page, and it did not help.

Comment
25
by
project member
[email protected]
,
Mar 21, 2012

Please be patient a little bit, see https://groups.google.com/d/msg/phantomjs/s3KwLo4P1LQ/ZN4js0M2LuUJ and just watch http://code.google.com/p/phantomjs/wiki/Troubleshooting in the next coming weeks.

你可能感兴趣的:(JavaScript)