当前位置:网站首页>windows IDEA + PHP+xdebug 断点调试
windows IDEA + PHP+xdebug 断点调试
2022-08-01 12:20:00 【愚公码农】
1. 环境说明
IDEA 2022.1
PHP 7.2.9
xdebug v3.1.5
2. 配置
将 下载的 php_xdebug-3.1.5-7.2-vc15-x86_64.dll 放在 ext 目录中(php.ini 中 extension_dir 配置项)
重命名成 php_xdebug.dll
2.1 php.ini 修改
追加 如下内容
zend_extension=xdebug
xdebug.mode=debug,trace,profile
xdebug.client_host=127.0.0.1
xdebug.client_port=19003
xdebug.remote_enable=on
xdebug.remote_handler="dbgp"
xdebug.discover_client_host = 1
xdebug.idekey=idea
xdebug.start_with_request = yes
xdebug.remote_log="D:/data/log/xdebug/xdebug.log"
2.1 IDEA 配置
安装 php plugin
配置 php
配置debug
配置 DBGp
配置 Servers增加运行配置
开启监听
3. 发送请求
然后就可以走到断点了
边栏推荐
- 浏览器存储
- Deep understanding of Istio - advanced practice of cloud native service mesh
- Simulation implementation of new of Js handwritten function
- 初级必备:单例模式的7个问题
- R语言两个时间序列数据的滞后相关性可视化:使用forecast包的ccf函数绘制交叉相关函数,根据可视化结果分析滞后相关性
- [Cloud Enjoying Freshness] Community Weekly Vol.73- DTSE Tech Talk: 1 hour in-depth interpretation of SaaS application system design
- Several methods of appending elements are commonly used in js: append, appendTo, after, before, insertAfter, insertBefore, appendChild
- 数字化转型实践:世界级2B数字化营销的方法框架
- 软件设计师考点汇总(室内设计师个人总结)
- Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器
猜你喜欢
随机推荐
实现集中式身份认证管理的案例
【面试高频题】难度 1.5/5,二分经典运用题
How to successfully pass the CKA exam?
.NET性能优化-使用SourceGenerator-Logger记录日志
【公开课预告】:超分辨率技术在视频画质增强领域的研究与应用
小程序插件如何帮助开发者受益?
MVVM响应式
通配符SSL证书不支持多域名吗?
数字证书原理
数字化转型实践:世界级2B数字化营销的方法框架
[CLion] CLion always prompts "This file does not belong to any project target xxx" solution
Aeraki Mesh Joins CNCF Cloud Native Panorama
Istio Meetup China:全栈服务网格 - Aeraki 助你在 Istio 服务网格中管理任何七层流量
[Community Star Selection] Issue 24 August Update Plan | Keep writing, refuse to lie down!More original incentive packages, as well as Huawei WATCH FIT watches!
Envoy source code flow chart
数据湖 delta lake和spark版本对应关系
Pytest电商项目实战(下)
深入解析volatile关键字
Favorites|Mechanical Engineer Interview Frequently Asked Questions
故障007:dexp导数莫名中断