[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