What is the function of php debugging?

Source: Internet
Author: User
What is the role of the php debugging function? of course, it is mainly to discover bugs. Is there any other function? for example, is it possible to find out the logic structure of the code? please advise.


Reply to discussion (solution)

Can you find that the bug is not enough? You can also find the logic structure based on the bug.

The following settings are set in system debugging configuration:

Enable logging. all error information and debugging information are recorded in detail to facilitate debugging;
Disable Template caching. template modifications take effect immediately;
Records SQL logs to facilitate SQL analysis;
Disable field caching. modifying data table fields is not affected by caching;
Enable strict file case check (even on Windows) to help you detect Linux deployment problems in advance;

The purpose of the debugging mode is to more easily discover, record, analyze, and solve errors. However, in the deployment mode, you may not find many potential errors, these errors are like a time bomb, which has potential risks.

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.