Re:Stetho: A new debugging platform for Android
by yincrash on Wednesday February 18, 2015 @03:37PM
(#9070767)
It uses the same mechanism that Chrome dev tools remote debugging uses which is a local websocket server accessed over adb. [1][2]
[1]https://github.com/facebook/stetho/blob/master/stetho/src/ma...
[2]https://developer.chrome.com/devtools/docs/remote-debugging
Re:Stetho: A new debugging platform for Android
by rentnorove on Wednesday February 18, 2015 @06:20PM
(#9071557)
It requires you to compile a proxy into the application:
OkHttpClient client = new OkHttpClient();
client.networkInterceptors().add(new StethoInterceptor());
This does make me wonder how their HTTP debugging works? I am assuming that data is passed over USB. Are they using ADB underneath this all?