Skip to content

Commit ca1b180

Browse files
committed
docs: add README
1 parent 5eeb563 commit ca1b180

3 files changed

Lines changed: 38 additions & 0 deletions

File tree

docs/FoldDevtools.png

10.5 KB
Loading

docs/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div align="center">
2+
3+
<img src="FoldDevtools.png" width="160" height="160" alt="logo" />
4+
5+
# FoldDevtools
6+
7+
</div>
8+
9+
> Using Chrome Devtools to debug Webview on Android.
10+
11+
| <img src="Screenshot.jpg" width="216" height="480" /> | [Download from releases](https://github.com/achyuki/FoldDevtools/releases) |
12+
-|-
13+
14+
# Features
15+
16+
* Debugging local WebView using root
17+
* Debugging remote browser through address
18+
* Force-enable WebView debugging with XPosed
19+
* Using devtools through floating window
20+
21+
# Rootless
22+
23+
For non-rooted Android devices, you need to manually forward the WebView debug socket to a local port using adb, and then connect using FoldDevtools remote mode.
24+
Termux:
25+
```
26+
# Get the debug localsocket name of WebView
27+
su -c cat /proc/net/unix | grep devtools_remote
28+
# 0000000000000000: 00000002 00000000 00010000 0001 01 xxxxxxx @webview_devtools_remote_<pid>
29+
30+
# Perform port forwarding
31+
adb forward tcp:9222 localabstract:webview_devtools_remote_<pid>
32+
```
33+
Then use remote mode to connect to 127.0.0.1:9222 in FoldDevtools.
34+
35+
36+
## License
37+
38+
Licensed under the [GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.html) License.

docs/Screenshot.jpg

189 KB
Loading

0 commit comments

Comments
 (0)