Micro-letter development, How are you debugging?

Source: Internet
Author: User
Tags php debug
Scenario the user sends a command to the public account the interactive process is a URL that is filled in by user data->tx server

Q. How do you debug in this process?

Reply content:

Scenario the user sends a command to the public account the interactive process is a URL that is filled in by user data->tx server

Q. How do you debug in this process?

This is a php debug script I found on GitHub (I've got a branch https://github.com/kuandrew/WeTest)
Down after a little modification on it, the use of more convenient.
The approximate principle is to simulate a variety of server post requests, and then in the local use JS parsing.

Artifact in hand, the world I have

If you want to detect whether the requested parameters are sent correctly, there is an online interface debugging tool.
URL and token passed, the interaction is nothing more than a ask a answer, do not understand how to debug the method ^ ^

This is how I debug ...
Applied for a test account, and then the interface address DDNS resolution to their own machine.
This will allow you to debug.

With wx.qq.com Web page debugging, more convenient

Resolves to this machine with DDNS, and then the client (Mobile or Desktop) sends a message

How does the public platform implement local testing? Searching before asking is a good habit. Since you feel inconvenient, it is not you alone feel inconvenient, there must be a solution. :P

Recommended Socketlog Debug: Https://github.com/luofei614/SocketLog

Why not say what platform you are based on? Php/.net/java/other?

  • 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.