Wechat H5 mobile terminal real machine debugging--vConsole

In the actual development of the mobile terminal, there are still some thorny bugs. I want to see what went wrong, because the mobile terminal cannot F12. Friendly WeChat provides us with such an entry, so that developers can debug on real machines. Kudos to the WeChat developers. Then you can see what you print and other information, such as cookies, LocalStorage, Network, Element...

Open this URL on WeChat http://debugx5.qq.com/ I have prepared a QR code for you, please scan it (don't be too moved...)
write picture description here
After entering, select the middle ''Information'', and then Scroll down, open vConsole, and turn off the following two Content Caches.
write picture description here
Then open the page you want to debug, you can see a green button vConsole in the lower right corner. Click to view the contents of the console in your code.
write picture description here

In fact, there is another way to introduce the vConsole file. You can directly see what is printed. They are very clear, I will not say more.
https://github.com/Tencent/vConsole/blob/dev/doc/tutorial_CN.md
Thanks again to Tencent Dad, is it still unfinished, but it's over...

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325509446&siteId=291194637
Recommended