Mobile-side Local debugging

Source: Internet
Author: User

Before we set up the agent with Webpack, the local request agent to the server, request the server interface and data, in fact, here can also fiddler to do the agent, the same effect.

This time we do mobile development, we embed the H5 page in the native Client, the address of the jump is the address of the test environment, now we want to jump to our local code to test (if not embedded in the native app, we can go to the browser to directly access the local service address). We first set up the phone and the PC under the same LAN, and then set the agent on the phone to my PC's IP port, so our phone request is through my local PC out of the This time again through the agent on the Fiddler to forward our request to the local service can be implemented on the phone is called local code.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.