- 打开微信,设法打开网址 http://debugx5.qq.com
(推荐直接把这个网址发给文件传输助手,然后就可以直接打开链接了) - 在打开的网页中选择 【信息】->【TBS settings】,勾选 【是否打开 TBS 内核 Inspector 调试功能】
微信提示需要重启,点击重启

完成这三个步骤后,就可以像平时调试 Android 应用 WebView 那样在 chrome 的开发者工具中调试微信中的 WebView 了!
- 手机开启usb调试,手机浏览器打开网页,连接电脑
- chrome浏览器中输入chrome://inspect/#devices

点击inspect,就可以进行调试,统计性能等步骤

- 看看手机

网友评论