Live data from Hacker News

Chrome DevTools for Mobile: Screencast and Emulation

html5rocks.com

21–30 of 51 posts

Re: Chrome DevTools for Mobile: Screencast and Emulation

#21

Can you debug webviews in Android with this? Or is it only for the dedicated browser?

trigger.io claim it is possible for their apps on Android 4.4 [1] that uses Chromium as basis for the webview, but I didn't have the chance yet as I am still on 4.3.

[1] http://trigger.io/cross-platform-application-development-blo...

Re: Chrome DevTools for Mobile: Screencast and Emulation

#22
Devil's Advocate (from an uninformed newbie): What's the benefit of this when no one uses chrome for mobile? All android devices come with "Internet" and all iOS devices come with Mobile Safari. This doesn't help me resolve issues on the browsers that people actually use on mobile devices.

Re: Chrome DevTools for Mobile: Screencast and Emulation

#23
post #17

Earlier quoted context omitted.

I'm on Linux and installing a virtual box with a Safari browser just for that seems like too much trouble. I have access to my brother's iPhone but it's annoying for me and for him to have to push my changes to a staging site then go "hey can I use your iPhone for a second" every 5 minutes.

I have had success debugging iOS Safari layout issues with https://github.com/google/ios-webkit-debug-proxy . It claims to support Linux, but I have only used it on a Mac. Could be worth a shot.

This seems pretty cool (actually very similar to at least the port-forwarding part of OP's article - except for iOS), but I imagine on Linux you'd still need a device. On a Mac you could just use the Xcode's iOS simulator.

Re: Chrome DevTools for Mobile: Screencast and Emulation

#24
post #22

Devil's Advocate (from an uninformed newbie): What's the benefit of this when no one uses chrome for mobile? All android devices come with "Internet" and all iOS devices come with Mobile Safari. This doesn't help me resolve issues on the browsers that people actually use on mobile devices.

"Internet" is not that good, and if by no one you mean only 100,000,000 - 500,000,000[1] people this really doesn't solve much.

[1] https://play.google.com/store/apps/details?id=com.android.ch...

Re: Chrome DevTools for Mobile: Screencast and Emulation

#25
post #3

Are there any similar articles explaing how to use what Firefox has to offer? https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugg...

I used both and while I can't give a precise comparsion I think that the chromeDevtools are generally more advanced but Mozilla is working really hard to improve with actually good results.

Re: Chrome DevTools for Mobile: Screencast and Emulation

#26

Can you debug webviews in Android with this? Or is it only for the dedicated browser?

Yes, the new WebView in Android 4.4 is totally debuggable: https://developers.google.com/chrome-developer-tools/docs/re... It doesn't yet have the screencasting, but every other DevTools feature is in there.

Re: Chrome DevTools for Mobile: Screencast and Emulation

#27
post #22

Devil's Advocate (from an uninformed newbie): What's the benefit of this when no one uses chrome for mobile? All android devices come with "Internet" and all iOS devices come with Mobile Safari. This doesn't help me resolve issues on the browsers that people actually use on mobile devices.

"Internet" is not that good, and if by no one you mean only 100,000,000 - 500,000,000[1] people this really doesn't solve much. [1] https://play.google.com/store/apps/details?id=com.android.ch...

Right, but it's not uninstallable on many newer devices which also have the proper Android browser too, so these figures will be way off.

Re: Chrome DevTools for Mobile: Screencast and Emulation

#28

holy moley screencasting is amazing.

It is nice.

One thing that got me stuck for an entire coffee was that I needed to run Chrome Mobile Beta on the device to get the Screencast toolbar button to appear, otherwise you just get regular remote debugging with no button.

Re: Chrome DevTools for Mobile: Screencast and Emulation

#29
post #22

Devil's Advocate (from an uninformed newbie): What's the benefit of this when no one uses chrome for mobile? All android devices come with "Internet" and all iOS devices come with Mobile Safari. This doesn't help me resolve issues on the browsers that people actually use on mobile devices.

The most recent version of Android has Chrome as the standard.

It isn't that helpful a feature at the moment but it is looking towards the future.

Post reply on HN