xdebug下载地址:https://xdebug.org/download.php
php.ini配置:
[XDebug] xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir ="<path>\tmp\xdebug" xdebug.trace_output_dir ="<path>\tmp\xdebug" xdebug.profiler_output_name = "cache.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9001 zend_extension="<php_path>\ext\xdebug.dll" xdebug.max_nesting_level = 256