Download xdebug:
Http://www.xdebug.org/download.php
This version:
Http://www.xdebug.org/files/php_xdebug-2.2.0-5.3-vc9.dll
Copy to the ext directory of PHP
Configure PHP. ini
Extension = php_xdebug-2.2.0-5.3-vc9.dll
; Xdebug. profiler_enable = 1
; Xdebug. profiler_output_dir = "E: \ phpnow \ xdebug"
[Xdebug]
; Enable Automatic Tracking
Xdebug. auto_trace = on
; Enable exception tracking
Xdebug. show_exception_trace = on
; Enable Automatic Start of remote debugging
Xdebug. remote_autostart = on
; Enable remote debugging
Xdebug. remote_enable = on
; Collect Variables
Xdebug. collect_vars = on
; Collect return values
Xdebug. collect_return = on
; Collect Parameters
Xdebug. collect_params = on
; Enable record or no log !!!
Xdebug. profiler_enable = 1
Xdebug. trace_output_dir = "E: \ phpnow \ xdebug \ tmp"
Xdebug. profiler_output_dir = "E: \ phpnow \ xdebug"
The generated file uses Windows Port of kcachegrind.
Analysis
Http://sourceforge.net/projects/precompiledbin/files/
Reference: PhP extension xdebug installation and kcachegrind System Analysis
Http://blog.csdn.net/21aspnet/article/details/7036087
Configure xdebug in netbeans
Http://blog.csdn.net/21aspnet/article/details/6754034