-
Notifications
You must be signed in to change notification settings - Fork 472
Everything works fine, but the Dev Tools Page is empty and doesn't contain Safari Information #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 |
That's still not working for me :( Using Yosemite 10.10.1 and Chrome Version 39.0.2171.95 (64-bit). Also tried in Canary Version 41.0.2271.0 canary (64-bit) - same issue. Looks like it can connect to the proxy OK, and I see the tabs and the UI, but everything is blank. |
I'm getting the same blank page by using chrome-devtools://devtools/bundled/devtools.html. Looks like the proxy sees the ios simulator fine, but the inspector is blank. Yosemite 10.10.1 and Chrome Version 39.0.2171.95 (64-bit) |
👍 |
1 similar comment
👍 |
+1 I have to same problem as @tralpha I always get an empty page in the chrome dev tools. Also with @montogeek http://chrome-devtools-frontend.appspot.com/static/27.0.1453.93/devtools.html it does not connect. Is there something else to do? |
I have the same problem. Could not connect. |
@montogeek Are you able to connect to your device? |
Yes, I was able. |
@wrightt Is google working on a fix for this issue? |
Same here, after compiling and running it on Ubuntu 14.04. (installing instructions from this thread) Latest Chrome stable from Google's repos shows the inspector blank (there isn't even a Running the proxy with |
Having the same issue as the OP. iPhone 4, Mavericks. |
same issue here. |
I worked around this by downloading Chromium 37 for Mac from here: http://sourceforge.net/projects/osxportableapps/files/Chromium/ |
can confirm this works with latest Chrome (40) and Safari w/ iOS 8.1 if launched like:
Works fine but it's crazy slow. Still, miles better than debugging via remote Safari. |
Thanks! |
Worked for me @osuka .. thanks! |
@osuka I can confirm it works with that frontend on Ubuntu 14.04, and also sluggish slow. |
It's a newer version than from Chrome 27 but WebPagetest has an embedded If that doesn't work I can see about putting an older version up as well On Thu, Jan 29, 2015 at 5:10 PM, Armando Pérez Marqués <
|
When I load up http://localhost:9222/ and then click the link for my connected device, I got:
The requested URL /devtools/devtools.html?host=localhost:9222&page=1 was not found. Invalid frontend URL? |
saw a comment on stackoverflow, seems to be working (fast but still buggy) using Also, the original old version of devtools in the readme (18.0.1025.74) works perfectly for me (OSX10.10, IOS8.1). Start with
|
I was getting a blank page on chrome dev tools. I tried the chrome-devtools://devtools/bundled/devtools.html?ws=localhost:9222/devtools/page/1 as suggested by GingerBear above and managed to connect finally. But I keep losing the connection. I get a 'websocket_closed' message on the devtools and the following error on the terminal: Invalid message _rpc_applicationUpdated |
@aerohit I am guessing newer devtools change its debug protocol, so this project can no longer correctly translate from safari's debug protocol to devtools'. The version of devtool used be the default (18.0.1025.74) works well. You can see the version in history of a file 97244ed#diff-5ec77c8336660a306cae07d0bd49757dL208 |
Oops, I clicked "Close" by mistake! Anyways, yes, there seem to be two issues here:
|
Chrome and Safari have now diverged a bit with the debugger protocol. I haven't looked into how much, but I suspect it isn't a big gap. It's likely quite fixable. protocol statuscurrent Chrome DevTools protocol:(and a handy viewer for it: http://chromedevtools.github.io/debugger-protocol-viewer/ ) current Safari Inspector protocol:http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/inspector/protocol Mozilla maintains a snapshot of the protocols in ios7 and ios8: https://github.com/mozilla/valence/tree/master/protocol-docs get involvedIt'd be very valuable for someone to author a minimal protocol compat layer to allow the io7 and ios8 protocols to map back to modern Chrome protocol. Then you could use whatever's in your browser. If you want to hack around.. try inspecting the inspector to see whats up with the empty devtools page or sniffing out the websocket connection to view the raw data ➡️ Ping me if you'd like to get involved in this. |
Sounds good to me! @paulirish, I've added you as a project admin, so please feel free to coordinate. |
fwiw @GingerBear 's suggestion for using |
May 20th.. I'm getting the same problem with the white screen in Chrome 43. @GingerBear 's suggestion to use chrome-devtools://devtools/bundled/devtools.html?ws=localhost:9222/devtools/page/1 works for me. |
running ios_webkit_debug_proxy -f http://chrome-devtools-frontend.appspot.com/static/27.0.1453.93/devtools.html and browsing with http://localhost:9222/devtools/devtools.html?ws=localhost:9222/devtools/page/1 or chrome-devtools://devtools/bundled/devtools.html?ws=localhost:9222/devtools/page/1 works for me too |
@GingerBear: ur suggestion is working..thanks..but I am not able to inspect webview application pages. is anybody facing this issue? |
@grglaz @shmdhussain Which build of |
@auchenberg : Just now i installed the ios-webkit-debug-proxy (i think v1.5) in OSX 10.10 and chrome 43 |
@shmdhussain Alrighty, then it's unrelated to my change. Never mind :) |
@auchenberg : so will it work normally as "http://localhost:9222/devtools/devtools.html?ws=localhost:9222/devtools/page/1" instead of "chrome-devtools://devtools/bundled/devtools.html?ws=localhost:9222/devtools/page/1"? Could you please help me in how to debug UIWebview native ios app, i am not able to do so. Thanks in advance. |
@shmdhussain @auchenberg For me v1.5 only works with this url: The link from http://localhost:9222/ for the first iOS device is |
@foobartel : are you able to inspect native webview app? see my screenshot for http://localhost:9222/devtools/devtools.html?ws=localhost:9222/devtools/page/1 screenshot for chrome-devtools://devtools/bundled/devtools.html?ws=localhost:9222/devtools/page/1 |
I am specifically interested in the profiling capabilities. Since Safari 7, the JavaScript CPU profiler is missing. I'd like to use the Chrome devtools to run CPU profiles on iOS devices, since the only way to run a CPU profiler currently is to downgrade to OS X 10.8 and use Safari 6. I can use ios_webkit_debug_proxy to debug my webview/safari with the Chrome Canary bundled dev tools, but sadly the profiling tools to not work. |
From chrome ver. 45 url
no longer works for me. I used this instead:
Hope it helps someone. |
Running:
worked for me. Note: for both of Versions:
|
Yes, this is a permanent change, introduced in chrome 45. For anyone uses the bundled inspector you should be using it via Sorry for the breakage here. |
What's the earliest version of Chrome that has this bundled inspector? |
@kcbanner check this out https://github.com/artygus/webkit-webinspector, I extracted webkit's webinspector so there's no need to downgrade to safari 6 anymore |
@animator013. Your solution works for me, thanks! |
Is it expected that one should see the console.logs from their client application in the Inspector? |
hi @netpoetica absolutely, but there're more and more issues with dev tools, please check out https://github.com/google/ios-webkit-debug-proxy#devtools-note |
I'm using an iPhone 5s with a Safari browser, together with a Mac 10.10.1.
I could install the ios webkit debug proxy and get it working. It can detect my phone and everything, but however when I copy the link of the available website for debugging into a new Chrome page and try debugging, I simply get a blank DevTools page, and I can't find and manipulate the DOM from the Safari browser on my iPhone.
Could anyone tell me what's wrong with this? Is there anything I'm doing wrong? Please let me know.
Thanks!
Ralph
The text was updated successfully, but these errors were encountered: