Open Source Invoicing psi-Debug with fiddler

Source: Internet
Author: User

This is Fiddler's main interface.

Fiddler has a lot of functions, I almost just use the Inspectors function, that is, the right side of the block. The following is a PSI login, to say how I use it.

Is the login time, entered the correct user name and password, fiddler intercepted information.

The left side of the above interface is all the HTTP requests in this process, check/home/user/loginpost, on the right of which is the post parameter, below is the JSON data returned. The parameters of the post are viewed in a tabular form of WebForms, and JSON is viewed in tree form.

It's just a normal situation, and the timing of the debug is wrong.

I often make the following two errors:

1, in JS write the wrong post URL address, the common reason is the spelling error.

Or just then, that login, I deliberately changed this phenomenon, and then use Fiddler will see the following interface:

Did you see the red and red? When I was 404, I knew the URL was wrong.

2, the background of PHP code error, because most of PHP is business logic code, and the business code in the PSI is mostly written in SQL statements, so, my most error is to write the SQL statement wrong.

Similarly, I deliberately changed a mistake to see what the Fiddler was reflecting.

Error or 404, how to distinguish it from the first case, see the right below the return of the Json,json returned is empty, switch to raw this page to view. Here's a close-up for raw.

This is the exception error message thrown by the background thinkphp framework.

Open Source Invoicing psi-Debug with fiddler

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.