服务器之家:专注于VPS、云服务器配置技术及软件下载分享
分类导航

PHP教程|ASP.NET教程|Java教程|ASP教程|编程技术|正则表达式|C/C++|IOS|C#|Swift|Android|VB|R语言|JavaScript|易语言|vb.net|

服务器之家 - 编程语言 - PHP教程 - phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

2022-11-21 16:23贵哥的编程之路(热爱分享 PHP教程

这篇文章主要介绍了phpstorm安装xdebug(phpstudy环境下)成功运行,本文分步骤给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下

注意:

想要在phpstorm中调试请满足一个条件。那就是安装在d盘。为什么呢?因为这样方便复制粘贴呀,
要开启phpstudy中的php扩展的xdebug啊

第一步:phpstudy里面的php.ini中:复制粘贴

[Xdebug]
xdebug.default_enable=On
xdebug.idekey = "PHPSTORM"
zend_extension=D:/phpstudy_pro/Extensions/php/php7.3.4nts/ext/php_xdebug.dll
xdebug.collect_params=1
xdebug.collect_return=1
xdebug.auto_trace=On
xdebug.trace_output_dir=D:/phpstudy_pro/Extensions/php_log/php7.3.4nts.xdebug.trace
xdebug.profiler_enable=On
xdebug.profiler_output_dir ="D:phpstudy_proExtensions	mpxdebug"
xdebug.remote_enable=On
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9100
xdebug.remote_handler=dbgp

第二步:phpstorm中

phpstorm—>File----》settings---->languages&Frameworks---->php---->debug—>

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

点击这两个,先点击apply再点击ok.

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

第三步:phpstorm中

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

第四步:phpstorm中

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

第五步:phpstorm中

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

phpstorm安装xdebug(phpstudy环境下)成功运行的操作步骤

完成!!!

到此这篇关于phpstorm安装xdebug(phpstudy环境下)成功运行的文章就介绍到这了,更多相关phpstorm安装xdebug内容请搜索服务器之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持服务器之家!

原文地址:https://blog.csdn.net/qq_37805832/article/details/126923070

延伸 · 阅读

精彩推荐