Yesterday, I found a way to debug with ngrok on the Internet, but it doesn't work. It may be related to the fan&wall. Later, it was found that there is a domestic version of ngrok, which can be passed after trying it.
1. Log in to https://www.ngrok.cc and download the corresponding version of ngrok. I downloaded the win64 version.
2. Register and log in to sunny-ngrok, https://www.ngrok.cc/user.html, and open the tunnel. There are paid and free versions of the tunnel. The specific difference is not known yet, so fill in the corresponding information.
3. Execute "Sunny-Ngrok Startup Tool.bat" and enter the client id. The client id is the tunnel id.
4. Enter the domain name to access your local service.