当前位置:网站首页>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. 发送请求
然后就可以走到断点了
边栏推荐
- 字体反爬之好租
- Envoy 源码流程图
- Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器
- pandas connects to the oracle database and pulls the data in the table into the dataframe, filters all the data from the current time (sysdate) to one hour ago (filters the range data of one hour)
- 测试发文
- 阿里云官方 Redis 开发规范
- Dameng replaces the officially authorized dm.key
- Ts-Map 类的使用
- 易周金融分析 | 银行ATM机智能化改造提速;互联网贷款新规带来挑战
- 【面试高频题】难度 1.5/5,二分经典运用题
猜你喜欢
Fault 007: The dexp derivative is inexplicably interrupted
那些利用假期学习的职场人,后来都怎么样了?
Feign 从注册到调用原理分析
MarkDown公式指导手册
稀疏表示--学习笔记
Audio and Video Technology Development Weekly | 256
Programmer's self-cultivation
故障007:dexp导数莫名中断
A new generation of ultra-safe cellular batteries, Sihao Airun goes on sale starting at 139,900 yuan
leetcode/submatrix element sum
随机推荐
批量任务导入到数据库中
找出相同属性值的对象 累加数量 汇总
音视频技术开发周刊 | 256
Grafana9.0发布,Prometheus和Loki查询生成器、全新导航、热图面板等新功能!
腾讯云原生:Areaki Mesh 在 2022 冬奥会视频直播应用中的服务网格实践
如何利用DevExpress控件绘制流程图?看完这篇文章就懂了!
如何设计一个分布式 ID 发号器?
Istio Meetup China: Full Stack Service Mesh - Aeraki Helps You Manage Any Layer 7 Traffic in an Istio Service Mesh
快速幂---学习笔记
R语言ggplot2可视化:使用ggpubr包的ggdensity函数可视化密度图、使用stat_central_tendency函数在密度中添加均值竖线并自定义线条类型
Aeraki Mesh Joins CNCF Cloud Native Panorama
[Open class preview]: Research and application of super-resolution technology in the field of video quality enhancement
Several methods of appending elements are commonly used in js: append, appendTo, after, before, insertAfter, insertBefore, appendChild
Programmer's self-cultivation
博弈论(Depu)与孙子兵法(42/100)
Meshlab&Open3D SOR滤波
Dapr 与 NestJs ,实战编写一个 Pub & Sub 装饰器
初级必备:单例模式的7个问题
The use of Ts - Map type
将同级数据处理成树形数据