Debug WeChat Web Authorization on Your PC with the New Web Dev Tool
The article explains how the newly released WeChat web development tool lets developers debug web authorization flows directly on a computer, eliminating the need to switch between mobile devices and simplifying the testing process.
Yesterday WeChat launched a web development tool that greatly simplifies WeChat development.
One of its features is debugging WeChat web authorization.
Previously, when developing functions based on WeChat authorization, developers had to open their pages in the mobile WeChat app, navigate to the authorization page, click to grant permission, retrieve user information, and then continue development and debugging. This required writing code on a computer while testing on a phone, which was inconvenient.
With the WeChat web developer tool, the entire debugging process can be performed directly on a computer.
Steps
Install the WeChat web development tool.
Follow the download link and documentation: WeChat Public Platform Developer Docs → Developer Tools → Web Developer Tools (http://mp.weixin.qq.com/wiki/10/e5f772f4521da17fa0d7304f68b97d7e.html).
Use your WeChat account to follow the public account used for development.
Enable the developer center in the public account backend.
In the public account backend, go to Development → Developer Tools → Web Developer Tools and bind your WeChat ID.
You will receive a "Public Account Developer WeChat ID Binding Invitation" in WeChat; click to accept.
Open the web development tool, click the "Login" button at the top right, scan the QR code with your WeChat, and confirm login.
Enter your URL in the tool’s address bar; the left‑hand simulator will allow you to perform authorization operations.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java High-Performance Architecture
Sharing Java development articles and resources, including SSM architecture and the Spring ecosystem (Spring Boot, Spring Cloud, MyBatis, Dubbo, Docker), Zookeeper, Redis, architecture design, microservices, message queues, Git, etc.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
