个人微信开开笔记
ngrok 下载:http://www.qydev.com/
1.cmd命令:
C:\Users\yywpc>d:
D:\>cd D:\windows_386
D:\windows_386>ngrok -config=ngrok.cfg -subdomain xxx 80
2.回车
ngrok (Ctrl+C to quit)
Tunnel Status online
Version 1.7/1.7
Forwarding https://xxx.tunnel.qydev.com -> 127.0.0.1:80
Forwarding http://xxx.tunnel.qydev.com -> 127.0.0.1:80
Web Interface 127.0.0.1:4040
# Conn 0
Avg Conn Time 0.00ms
3.tomcat 本地端口改为80后,启动.
此时: http://127.0.0.1:80/wechat/coreServlet == http://xxx.tunnel.qydev.com/wechat/coreServlet
4.浏览器访问http://xxx.tunnel.qydev.com/wechat/coreServlet 可以进入本地断点。