How to use Chrome debugger protocol to remote debug Android webview?

572 views
Skip to first unread message

Chen Yang

unread,
Dec 14, 2015, 6:02:39 AM12/14/15
to Google Chrome Developer Tools
Now we can debug a remote Android webview by Chrome devtools.

Is it possible to use Chrome debugger protocol to remote debug Android webview?

Thanks.



PhistucK

unread,
Dec 14, 2015, 11:58:11 AM12/14/15
to Google Chrome Developer Tools


PhistucK

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/35495074-453f-4fee-beab-6516914f5042%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chen Yang

unread,
Dec 14, 2015, 9:11:39 PM12/14/15
to Google Chrome Developer Tools
Yes,we can use chrome devtools to debug a remote android webview because it bases on chrome debugger protocol.

I want to know if I can use chrome debugger protocol directly.

Because I want to collect some performance data.  

On Tuesday, December 15, 2015 at 12:58:11 AM UTC+8, PhistucK wrote:


PhistucK

On Mon, Dec 14, 2015 at 1:02 PM, Chen Yang <chen...@hulu.com> wrote:
Now we can debug a remote Android webview by Chrome devtools.

Is it possible to use Chrome debugger protocol to remote debug Android webview?

Thanks.



--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.

Paul Irish

unread,
Dec 14, 2015, 9:37:04 PM12/14/15
to Google Chrome Developer Tools
Yup, you should be able to connect over ADB and then forward the devtools port for the webview: http://stackoverflow.com/a/20282005/89484

this link has an easy way to get the intended process, too: https://github.com/AlJohri/chromedevtools

Chen Yang

unread,
Dec 28, 2015, 10:51:48 PM12/28/15
to Google Chrome Developer Tools
Thank you.

It works.
Reply all
Reply to author
Forward
0 new messages