--The device discovery logic for debugging Android KitKat webviews is not documented. Running cat /proc/net/unix will list webviews in this format: @webview_devtools_remote_159 The last number is a PID which can be used to look up the apk package:
`adb shell ps`.split("\r\n").reject { |l| ! l.include?(pid) }I don't know how to identify the websocket address that's in use to send the appropriate debugging protocol messages. "chrome://inspect/#devices" works without issue so I'm not sure why device discovery isn't clearly explained somewhere. Any help with this is appreciated.
https://developers.google.com/chrome-developer-tools/docs/debugger-protocol
https://developers.google.com/chrome-developer-tools/docs/remote-debugging
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/1ea11f2c-8680-4a52-85df-9f33940f1293%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Matt.You can use found unix socket to send "GET /json HTTP/1.1\r\n\r\n" HTTP request as in https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/devtools/devtools_adb_bridge.cc&l=468In response you may see webSocketDebuggerUrl field - there will be websocket url you are interested in.
WBR,Dmitry.
On Fri, Jan 17, 2014 at 10:50 PM, <ma...@bootstraponline.com> wrote:
The device discovery logic for debugging Android KitKat webviews is not documented. Running cat /proc/net/unix will list webviews in this format: @webview_devtools_remote_159 The last number is a PID which can be used to look up the apk package:
`adb shell ps`.split("\r\n").reject { |l| ! l.include?(pid) }I don't know how to identify the websocket address that's in use to send the appropriate debugging protocol messages. "chrome://inspect/#devices" works without issue so I'm not sure why device discovery isn't clearly explained somewhere. Any help with this is appreciated.
https://developers.google.com/chrome-developer-tools/docs/debugger-protocol
https://developers.google.com/chrome-developer-tools/docs/remote-debugging
--
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.
What are you trying to do?
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/8ff650e0-2e42-4300-ac48-519f5a45f29a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/1ea11f2c-8680-4a52-85df-9f33940f1293%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/8ff650e0-2e42-4300-ac48-519f5a45f29a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/CAEX3KhYVDOHj4fuF19-hy2mTPWj8AhF28JMb-G-UkTy%2BT%3Dn%2Bzg%40mail.gmail.com.
--
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.To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/AC6EFA41E3A74A9391E25C26EBDD7D54%40Aqueronte.