Windows安裝xdebug遇到的問題
按照網(wǎng)上教程安裝xdebug讲冠,但是不管怎么樣phpinfo中都沒有xdebug安裝成功的標(biāo)志,后來仔細(xì)檢查了一遍,我安裝的phpStudy是2018年最新版本的,PHP5.4.45譬猫,這個自帶Xdebug,/php-5.4.45/ext里面已經(jīng)存在php_xdebug.dll文件羡疗,將php擴(kuò)展Xdebug勾選配置好php.ini就可以了染服。
1. php.ini配置
[XDebug]
xdebug.profiler_output_dir="E:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="E:\phpStudy\PHPTutorial\tmp\xdebug"
zend_extension ="E:/phpStudy/PHPTutorial/php/php-5.4.45/ext/php_xdebug.dll"
xdebug.auto_trace=on
xdebug.collect_params=on
xdebug.collect_return=on
xdebug.profiler_enable=on
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host= localhost
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM
2. xdeug 安裝成功標(biāo)志
3.Xdebug下載地址