Windows安装xdebug遇到的问题
按照网上教程安装xdebug,但是不管怎么样phpinfo中都没有xdebug安装成功的标志,后来仔细检查了一遍,我安装的phpStudy是2018年最新版本的,PHP5.4.45,这个自带Xdebug,/php-5.4.45/ext里面已经存在php_xdebug.dll文件,将php扩展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 安装成功标志

3.Xdebug下载地址