Debug configuration Full solution for PHP development environment

Source: Internet
Author: User

[Xdebug]

; Xdebug storage path, here is a small problem is, zend_extension_ts, if your phpinfo after testing is prompted by the thread Safe Build:yes then you need to use Zend_extension_ts a notation , otherwise you need to zend_extension the writing, this is also very important (note if you want to copy this paragraph directly, you need to remove the text in the INI or in front of each line to add ";" To comment it out, or it will go wrong when Apache starts.

; zend_extension_ts= C:\Program Files\php\ext\php_xdebug-2.1.2-5.2-vc6.dll

Whether to turn on automatic tracking

; xdebug.auto_trace = On

Whether to turn on exception tracking

; xdebug.show_exception_trace = On

Whether to turn on remote debugging auto-start

; Xdebug.remote_autostart = On

Whether to turn on remote debugging

; xdebug.remote_enable = On

Client IP allowed for debugging

; xdebug.remote_host=127.0.0.1

Ports for remote debugging (default 9000)

; xdebug.remote_port=9000

It is important to note that if your extension path is not wrong and Apache can not boot, then it means that your port may be occupied, this time you need to modify the port, you can specify a different port, such as 9999.

Debug Plugin DBGP

; XDEBUG.REMOTE_HANDLER=DBGP

Whether to collect variables

; xdebug.collect_vars = On

Whether to collect return values

; Xdebug.collect_return = On

Whether to collect parameters

; xdebug.collect_params = On

Trace the output path, if your D disk does not exist this Xdebug folder please create a new

; xdebug.trace_output_dir= "D:\xdebug"

Whether to turn on debug content

Xdebug.profiler_enable=on

Debug output path, if your D disk does not exist this Xdebug folder please create a new

; xdebug.profiler_output_dir= "D:\xdebug"

Debug configuration Full solution for PHP development environment

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.