;;;;;;;php.ini;;;;;;;;;;;;;;;;;;
[Xdebug]
zend_extension=D:\Xampp\php\ext\php_xdebug.dll;开启自动跟踪xdebug.auto_trace = On;开启异常跟踪xdebug.show_exception_trace = On;开启远程调试自动启动xdebug.remote_autostart = On;开启远程调试xdebug.remote_enable = On;收集变量xdebug.collect_vars = On;收集返回值xdebug.collect_return = On;收集参数xdebug.collect_params = On;;phpstorm
xdebug.remote_handler = dbgpxdebug.remote_host= localhostxdebug.remote_port = 9000xdebug.idekey = PHPSTORM;;wincachegrind
xdebug.profiler_enable=Onxdebug.trace_output_dir="D:/wincachegrind"xdebug.profiler_output_dir="D:/wincachegrind"
----------------------------------------------------------------------------------
xdebug使用简单配置
xdebug.remote_enable=1
xdebug.remote_handler=dbgpxdebug.remote_host=localhostxdebug.remote_port=9000xdebug.idekey=PHPSTORM