xdebug 配置

打开phpinfo 复制

粘贴到

https://xdebug.org/wizard.php

就会给出 xdebug的版本,下载就好

放进php目录下

[Xdebug]
zend_extension="E:\xampp\php\ext\php_xdebug.dll"
xdebug.auto_trace = On    
xdebug.show_exception_trace = On    
xdebug.remote_autostart = On      
xdebug.remote_enable = On    
xdebug.remote_host = 127.0.0.1    
xdebug.remote_port = 9000    
xdebug.remote_handler = dbgp
xdebug.idekey = PHPSTORM

虽然不知道为什么但是这么配置我的php.ini 我的JetBrains PhpStorm 2016.2 就可以使用xdebug了

猜你喜欢

转载自www.cnblogs.com/fengxiaoyao/p/9996814.html
今日推荐