1、netbeans的设置
2、修改php.ini
如下:
[XDebug]
zend_extension = "D:devxamppphpextphp_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "D:devxampp mp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.idekey="caicai"
;xdebug.remote_handler = "caicai"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = "9001"