zend studio调试
XDdebug搞了我一天
先把php.ini的代码发一下
[XDebug]
zend_extension = "d:/WAMP/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;是否开启远程调试
xdebug.remote_enable = 1
;是否开启调试内容
xdebug.profiler_enable = 1
;开启远程调试自动启动
xdebug.remote_autostart = 0
;开启自动跟踪
xdebug.auto_trace = 1
;调试插件dbgp
xdebug.remote_handler = "dbgp"
;允许调试的客户端IP
xdebug.remote_host = "localhost"
;远程调试的端口
xdebug.remote_port = 19000
xdebug.idekey= "ECLIPSE_DBGP"
;调试输出路径
xdebug.profiler_output_dir = "D:\xdebug"
xdebug.remote_log = "D:\xdebug\remote.log"
;跟踪输出路径
xdebug.trace_output_dir = "D:\xdebug"
;开启异常跟踪
xdebug.show_exception_trace = 1
;是否收集变量
xdebug.collect_vars = 1
;是否收集返回值
xdebug.collect_return = 1
;是否收集参数
xdebug.collect_params = 1
;显示局部变量
xdebug.show_local_vars = 1
;显示默认的错误信息
xdebug.default_enable = 1
xdebug.profiler_enable_trigger = 0
很多人配置了也不能正常debug,有一部分人是因为端口问题
我这里用的是19000,我遇到的不是,我用的是集成环境,当phpinfo显示有XDebug时说明是安装成功的
但是在调试之前,点击wamp,找到php->php setting ,其中有三个XDebug的选项,都开启就行了
今天又出了些问题,大概是把目录换了下吧
换了目录之后,一定要重新配置下,不然没有效果
另外,我发现wamp下加载的php.ini是在apache下的php.ini
所以要去apche下的php.ini进行配置,文件夹下搜索下就能找到了
xdebug.remote_enable = On
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = On
xdebug.remote_port = 19000
xdebug.auto_trace = On
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "D:/WAMP/wamp/tmp"
xdebug.show_local_vars=On
zend studio调试的更多相关文章
- xampp环境下,配置Zend Studio调试php(XDebug) 转摘:http://www.cnblogs.com/tuyithief/archive/2011/06/02/2068431.html
先说一下文件版本,xampp 1.7.4,php 5.3.5. 走了很多弯路,截止目前,ZendDebugger在php 5.3.x下,只有nts版本,既non Thread Safety(具体什么意 ...
- 使用zend studio配置Xdebug调试PHP教程
这里看过上面的文章后写一下自己的想法. 最近安装了zend studio 10.5,下载了破解文件.开始是下载了10.0的版本,但是注册码不正确.所以只能安装最新的10.5了. 接下来进行PHP代码调 ...
- 使用Zend studio+WAMP来调试Wordpress后台的PHP程序的一些非常关键的信息(原创)
一.Zend studio代码格式化快捷键:选中代码,Ctrl+Shift+F( 注意,在英文输入发状态下使用!) .Zend studio实用快捷键 :http://www.zendstudio.n ...
- zend studio 的使用
1.将php项目导入到zend studio 中的方式为:http://my.oschina.net/maomi/blog/86077: 2.zend studio中将php项目导出的方式为:如果你会 ...
- zend studio 9.0.4 破解、汉化和字体颜色及快捷键相关设置
转载:http://www.penglig.com/post-45.html 下载:http://www.geekso.com/component/zendstudio-downloads/ 破解:h ...
- Zend Studio实用快捷键一览表
CTRL+B | 重构项目CTRL+D | 删除一行CTRL+E | 搜索已打开的文件名CTRL+F | 打开本文件的搜索/替换 ,只搜索当前文件CTRL+H | 打开搜索替换窗口 ,可搜索整个磁盘. ...
- zend studio 9实用快捷键大全 分享ZEND STUDIO 9的常用快捷键,高亮显示相同变量。
=====把鼠标放在调用函数默认是显示函数的参数,而按下ctrl时会显示出函数的原型=====查询调用该函数父函数,这个实在是太有用了:Ctrl+shift+M:模糊搜索方法名 [这块要注意配置,否则 ...
- zend studio 10 字体,颜色,快捷键等相关设置
一.修改字体 没想到zend studio 10中对中文显示不太好看,似乎有点小了.修改如下:打开 Window->Preferences->General->Appearance- ...
- zend studio使用入门
使用zend studio8建立项目 使用PHP开发工具zend studio8进行PHP网站开发,就需要建立(导入)相应的项目,方法如下:右键左侧Workspace,选择New | PHP Proj ...
随机推荐
- POJ 2796[UVA 1619] Feel Good
Feel Good Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 16786 Accepted: 4627 Case T ...
- 02-MySQL的安装和配置
1. 软件和环境 注:安装MySQL数据库的操作系统必须保证有.NET环境和VC运行库的支持. 下载地址:百度云网盘链接 2. MySQL服务器安装详细步骤 (1). 选择安装类型 这里我们选择 ...
- web4.0基本配置
const path = require('path');//引入路径包 const HWP = require('html-webpack-plugin');//引入自动产出html包 const ...
- WebStrom直接启动VUE项目
点Run即可启动
- Linux - 网络检测
linux 利用bmon/nload/iftop/vnstat/iptraf实时查看网络带宽状况 .添加yum源方便安装bmon # rpm -Uhv http://apt.sw.be/redhat/ ...
- 日历控件QCalendarWidget
样式:
- JavaScript之从浏览器一键获取教务处个人课程信息【插件】
由于博主的个人网站(:http://www.johnnyzen.cn/),每学期都需要更新呈现课程的静态信息,由于课程量多,而且手动爬取很冗杂,特别想自动化实现.这不,今天终于有点时间了,把之前写no ...
- 2018-2019-2 《网络对抗技术》Exp0 Kali安装 20165230
2018-2019-2 <网络对抗技术>Exp0 Kali安装 20165230 一.下载kali 下载地址 下载Kali Linux 64 bit VMware VM版本 下载vmwar ...
- 基于Python的机器学习实战:Apriori
目录: 1.关联分析 2. Apriori 原理 3. 使用 Apriori 算法来发现频繁集 4.从频繁集中挖掘关联规则 5. 总结 1.关联分析 返回目录 关联分析是一种在大规模数据集中寻找有趣 ...
- nagios监控客户端报错/usr/bin/perl^M: bad interpreter: No such file or directory
nagios服务端监控客户端内存时发现监控不上 在客户端直接执行脚本,报错如下: # /usr/local/nagios/libexec/check_memory.pl -w 6% -c 3% -ba ...