微信webview 调试攻略
这次介绍的是debuggap
1.官网地址http://www.debuggap.com/
软件 在 /share/技术/software 仅提供mac64位 ,有其他需求的去官网下载即可
2.使用介绍
需要debug页面引入debuggap.js
下面切换成装逼模式
Include debuggap.js in your web project. (We recommend that add it before including other javascript files)
e.g <script src="http://style.mc2113.com/dist/lib/js/util/debuggap.js" type="text/javascript"></script>
When your web application has loaded,there will be one blue spot in your application.
Tap the spot, and Tap the 'Config' leaf to display the config page.Enter the host and port which should be the same with those on the remote DebugGap e.g 192.168.1.104:11111 ,then tap the 'Connect' button(ip address is mine,you should change it by yourself)
The client to-do list(ought to be done firstly):
1.Double-click the executable file 'DebugGap' to run the application
2.Click 'Connect' button to start the listener for all kinds of clients
3.Add proxy 192.168.1.4:11111 for network to record all the http request(e.g images)
In order to use single-step debug for android, please enable USB debugging in Developer options
说人话,可以debug ,有待测试, 四叶草那里 点击inspect ,然后点击节点,类似于chrome 的审查元素的鼠标
DebugGap现在已经很强大了,远程调试很cool
可是,现在新版微信x5 内核 丫的不能debug调试呢,好烦人
console 错误日志也拿不到,开始还以为行的呢,╮(╯▽╰)╭
试一下最新的DebugGap 2.4.0,支持远程调试了,微信的webview就可以被调试了
Thanks for finally writing about >微信webview 调试攻略 - Blog
Fantastic goods rom you, man. I have understand your stuff previous to and you are just extremely magnificent.
I actually like what you've acquired here, really like what
you are saying aand the way in which you say it.
You make it entertaining and you stll take care of to keep it wise.
I can't wait to rea much more from you. This is really a terrific
site.
I'm really enjoying the theme/design of your web site.
Do yyou ever run into any internet browser compatibility issues?
A few of my blog readers have complained about my website not operating correctly in Explorer but looks
great in Safari. Do youu have any suggestions to help fix this issue?
I just used the typecho and ripe theme called motion
I'm not sure exactly why but this weblog is
loading extremely slow for me. Is anyone else
having thbis problem or is it a problem on my end?
I'll check back later on and see if the problem
stilkl exists.
Maybe you are in america and my website built in China.
Hi there, just became aware of your blog through Google, and found that it iis truly informative.
I'm going to watch out for brussels. I will be grateful if
you continue this in future. Many people will be benefited from your writing.
Cheers!
It's my honor
What's up all, here every person is sharing thjese kinds of experience,
thus it's nice to read this weblog, and I used to go to see this blog daily.
thank you
Fantastic website. Lots of useful info here. I am sending it to a few buddiews
ans additionally sharing in delicious. And of course, thanks to your sweat!
hello there and thank youu for your information – I've certainly picked up something new from
right here. I did however expertise some technical points using this web site, as
I experienced to rellad thee website a lot of times previous to I could
get it tto load properly. I hadd been wondering if your web host is OK?
Not that I am complaining, but slow loading instances
times will oftrn affect yur placement in google and can damge your quality score
iff ads and marketing with Adwords. Anyway I'm adding this RSS to my e-mail and can look out for much more
of your resppective intriguing content. Make sure you update this again soon.
I'm truly enjoying the design and layout of your website.
It's a very easy on the eyes which makes itt much more pleasant for me to come here
and visit more often. Diid you hire out a designer to create your theme?
Fantastic work!
Hey there! This is my first visit to your blog!
We are a team of volunteers and starrting a new initiative in a community in the same niche.
Your blog provided us benefiicial information to work on. You
hve done a extraordinary job!