phpstrom配置XDebug调试

阅读 57

2022-01-24

(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)

0 0 举报