forked from crosswalk-project/crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Remote Debug on Android
sqliu edited this page Aug 29, 2013
·
13 revisions
XWalkCoreShell enables remote debug by default.
The unix domain socket port in Android device is "org.xwalk.core.xwview.shell_devtools_remote", the port needs to be forwarded to host machine (eg, 9222):
adb forward tcp:9222 localabstract:org.xwalk.core.xwview.shell_devtools_remote
If you have to check whether the domain socket port is opened, run "adb shell" and then run command in device
#cat /proc/net/unix
e89ba100: 00000002 00000000 00010000 0001 01 29471 @org.xwalk.core.xwview.shell_devtools_remote
...
In host machine connected with device, launch Chrome desktop, open "http://127.0.0.1:9222", or open "chrome://inspect" (requires Chrome version>28)
http://powerbuilder.sh.intel.com/projects/wrtonandroid/wiki/cameo/remote-debugging-enabling https://developers.google.com/chrome-developer-tools/docs/remote-debugging