notepad++ php debug,Eclipse/php/Xdebug 搭建PHP 开发/调试环境 notepad++ with light explorer

一直使用notepad++的,但是他没有文件类似EditPlus的资源管理器,可以装一个light explorer(或者是 explorer) 方便多了……

12

12

1.

最近看的书上推荐了eclipse 反正机子上有就弄了下

已经有eclipse了就使用插件的方式,http://sourceforge.net/project/showfiles.php?group_id=57621

官网有专门的版本的,没装的建议还是直接下整合好的:

http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliosr

http://archive.eclipse.org/technology/epp/downloads/release/helios/R/eclipse-php-helios-win32-x86_64.zip

或者使用zend的工具

Zend Eclipse PDT Zend Studio

百度了一下 众多update site都无法访问了

http://phpeclipse.sourceforge.net/update/cvs

http://phpeclipse.sourceforge.net/update/releases

phpeclipse.net

百度的官网半天打不开

http://www.phpeclipse.com/

网盘下载 http://pan.baidu.com/s/1tdaF4 这是别人传到网盘的

http://download.eclipse.org/tools/pdt/updates/3.2/release/

12

2.安装xdebug

下载地址

http://xdebug.org/

下面是官方文档里的 重点 php5.3以后使用zend_extension来配置

Configure PHP to Use Xdebug

add the following line to php.ini: zend_extension=”/wherever/you/put/it/xdebug.so” (for non-threaded use of PHP, for example the CLI, CGI or Apache 1.3 module) or: zend_extension_ts=”/wherever/you/put/it/xdebug.so” (for threaded usage of PHP, for example the Apache 2 work MPM or the the ISAPI module). Note: In case you compiled PHP yourself and used –enable-debug you would have to use zend_extension_debug=. From PHP 5.3 onwards, you always need to use the zend_extension PHP.ini setting name, and not zend_extension_ts, nor zend_extension_debug. However, your compile options (ZTS/normal build; debug/non-debug) still need to match with what PHP is using.

12

12

Xdebug

php.ini中配置如下:

[xdebug]

zend_extension=“D:\web\ext\php_xdebug-2.2.3-5.5-vc11-nts-x86_64.dll”

;开启自动跟踪

xdebug.auto_trace = On

;开启异常跟踪

xdebug.show_exception_trace = On

;开启远程调试自动启动

xdebug.remote_autostart = On

;开启远程调试

xdebug.remote_enable = On

;收集变量

xdebug.collect_vars = On

;收集返回值

xdebug.collect_return = On

;收集参数

xdebug.collect_params = On

12

给跪了,还是用notepad++方便点

建议还是直接去下zend studio,百度也有个专门为BAE开发的eclipse。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值