环境配置
php-7.1.24
xdebug-2.9.8
Xdebug 编译
phpize
./configure
make && sudo make install
Php.ini 修改
在文件最后按需加入内容
[xdebug]
zend_extension = xdebug.so
xdebug.mode = debug
xdebug.auto_trace = On
xdebug.profiler_enable = On
xdebug.show_local_vars = 1
xdebug.auto_trace = On
xdebug.profiler_enable_trigger = On
注意事项
本文并未使用IDE辅助调试