Android phones display vconsole in WeChat H5 in the production environment

During the development process of the WeChat official account H5, vconsole can be displayed in the development environment/test environment by referencing the corresponding npm package, but the production environment cannot open vconsole because it faces users, which leads to problems in the real environment that are not easy to locate and delay time.

There is a way to solve this problem. Similar to the developer tools for opening the WeChat browser.

1. First, in WeChat (file transfer assistant), enter "http://debugx5.qq.com" and click Jump to enter,

 

2. Copy the link "http://debugtbs.qq.com" and jump to enter again. You can copy it to the address that you can click to jump to, such as the file transfer assistant (it will only be available when you open it for the first time, and then enter directly into the first page) 3 step page).

 

3. Copy the link "debugmm.qq.com/?forcex5=true", click again to jump to the following picture

Prompt that something has been started, then return to the link "http://debugx5.qq.com" in the first step, switch to the information page, and you can see the prompt to open vconsole

In this way, even under the official address, you can see the vconsole

Guess you like

Origin blog.csdn.net/rrrrroy_Ha/article/details/115558684