欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 教育 > 培训 > IDEA 开发PHP配置调试插件XDebug

IDEA 开发PHP配置调试插件XDebug

2025/12/14 6:19:35 来源:https://blog.csdn.net/LXdragon1991/article/details/148460145  浏览:    关键词:IDEA 开发PHP配置调试插件XDebug

1、安装PHP环境

为了方便,使用的PhpStudy。

安装路径:D:\resources\phpstudy_pro\Extensions\php\php7.3.4nts

2、下载Xdebug

Xdebug: Downloads 

选择对应的版本下载,本次使用的是7.3。

 3、配置Xdebug

在php.ini中添加Xdebug配置。

D:\resources\phpstudy_pro\Extensions\php\php7.3.4nts\php.ini

......

[xdebug]
zend_extension=D:\resources\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug-3.1.6-7.3-vc15-nts-x86_64.dll
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.client_port=9003
xdebug.client_host=127.0.0.1
xdebug.idekey=IDEA

4、IDEA配置PHP

5、配置Xdebug

 

 

 

 运行:

 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词