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

Lark ·
更新时间:2024-09-20
· 1035 次阅读

目录

注意:

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

第二步:phpstorm中

第三步:phpstorm中

第四步:phpstorm中

第五步:phpstorm中

注意:

想要在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_pro\Extensions\tmp\xdebug" 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—>

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

第三步:phpstorm中

第四步:phpstorm中

第五步:phpstorm中

完成!!!

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



phpstorm 运行 phpstudy xdebug

需要 登录 后方可回复, 如果你还没有账号请 注册新账号