wamp 2.4开启xDebug
2015-11-27 11:10
519 查看
wamp 2.5 安装在D:\Server\wamp\中,打开D:\Server\wamp\bin\apache\apache2.4.9\bin\php.ini:
[plain]
view plaincopy
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
;curl.cainfo =
; Local Variables:
; tab-width: 4
; End:
; XDEBUG Extension
zend_extension = "D:/Server/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "D:/Server/wamp/tmp"
xdebug.show_local_vars=0
将xdebug.remote_enable = off 改为 xdebug.remote_enable = on,然后重启服务。
在Zend Studio中添加apache服务器:
设置debuger为xDebug:
在工程中就可以开启xDebug进行调试了:
如果启动后发现一直在等待xDebug会话,请检查xDebug默认端口9000是否被占用,或者浏览器是否设置了代理
[plain]
view plaincopy
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
;curl.cainfo =
; Local Variables:
; tab-width: 4
; End:
; XDEBUG Extension
zend_extension = "D:/Server/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "D:/Server/wamp/tmp"
xdebug.show_local_vars=0
将xdebug.remote_enable = off 改为 xdebug.remote_enable = on,然后重启服务。
在Zend Studio中添加apache服务器:
设置debuger为xDebug:
在工程中就可以开启xDebug进行调试了:
如果启动后发现一直在等待xDebug会话,请检查xDebug默认端口9000是否被占用,或者浏览器是否设置了代理
相关文章推荐
- logback配置
- 第十节 蜂鸣器
- 判断微信浏览器是安卓还是IOS客户端
- asp.net微信公众平台
- 深入理解Oracle的imp/exp 和各版本之间的规则
- php同步mysql两个数据库中表的数据
- Android NDK开发初识
- java处理InputStream和字节数组互转
- 数组指针,函数指针的初步探阶
- 已知图片大小,让其在页面中垂直水平居中
- 磁盘相关命令df、du、fdisk、mkfs.ext4、mount、fstab
- SSH:Hibernate框架(常用API详解及源码分析)
- Python-变量
- 2015.11.27------Local Gabor Binary Pattern Histogram Sequence(LGBPHS)论文笔记
- JNI -1 小试牛刀
- MySql索引算法原理解析(通俗易懂,只讲B-tree)
- 【Web基础】HTTP长连接和短连接以及推送技术原理
- 解决easyui-datagrid在IE中无法reload问题
- Android源码下载 APK原型
- HTML select 下拉菜单赋值(从数据库中)