环境配置
PhpStorm 2018.3.6
2019.1的识别不了xdebug
xampp-windows-x64-7.1.26-0-VC14-installer
安装路径:D:\xampp
集成了php_xdebug.dll
chrome插件 : JetBrains IDE Support
xampp设置
编辑D:\xampp\php\php.ini
在[xdebug]添加内容:
[xdebug]
zend_extension="D:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_autostart=on
xdebug.auto_trace = On
xdebug.show_exception_trace = On
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_mode="req"
xdebug.remote_log="D:\xampp\htdocs\log\xdebug.log"
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.remote_handler="dbgp"
xdebug.idekey="PHPSTORM"
xdebug.remote_autostart = On
xdebug.collect_vars = On