phpstorm配置断点调试

一、安装php的Xdebug扩展

下载扩展地址:https://xdebug.org/download

将下载的扩展文件放到php扩展目录下

修改php.ini配置文件

[Xdebug]

zend_extension="C:\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug-3.1.4-7.3-vc15-nts-x86_64.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhosst
xdebug.remote_port=9000
xdebug.client_port=9000
xdebug.idekey="test"
xdebug.mode=debug
xdebug.start_with_request=default

 

二、配置phpstorm开启调试

、、

 

 

 

 

参考地址:https://blog.csdn.net/CRMEB/article/details/125063140

 

posted @ 2023-06-20 16:40  程序员小艺  阅读(39)  评论(0编辑  收藏  举报