Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Instructions on building a local debugging environment for Wechat

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

As we all know, when developing Wechat, you must enter URL, and the URL must be a public network domain name.

This article will take you to use tools to build Wechat local development environment, the principle is to map the public network domain name to the local port through the tool.

Tool name: ngrok, I am using the windows version here. Click here to download

Do the following:

Extract the downloaded tools

Enter the tool catalog through cmd

Enter the following command: ngrok-config ngrok.cfg-subdomain myapp 80

Parameter description: myapp is a custom domain name. For example, wxdebug,80 is the local port to be mapped to. Feel free to enter the port number you need, such as tomcat default port 8080.

Finally, if you use http://wxdebug.ngrok.natapp.cn access, you will automatically enter the local IDE for debugging.

The screenshot below indicates success

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report