0
点赞
收藏
分享

微信扫一扫

phpstrom配置XDebug调试

树下的老石头 2022-01-24 阅读 57

(1)下载XAMPP

(2) 下载phpstrom2020 (低版本很有可能不成功)

(3) 配置php.ini配置文件

xampp本身已经自带了xdebug扩展, 查看phpinfo配置:

配置php.ini 

[XDebug]
zend_extension="D:/xampp/php/ext/php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_output_dir="<XAMPP_HOME>\tmp"

(4) 配置phpstrom

 

 

 

 (5) 启动服务, 打断点就可以调试了

举报

相关推荐

0 条评论