phpstudy+Notepad+DBGp xdebug 调试php
2016-09-03 17:34
323 查看
[XDebug] xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir ="D:\ruanjian\phpStudy\tmp\xdebug" xdebug.trace_output_dir ="D:\ruanjian\phpStudy\tmp\xdebug" xdebug.profiler_output_name = "cache.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" zend_extension="D:\ruanjian\phpStudy\php53\ext\xdebug.dll" xdebug.remote_port = 9000 xdebug.idekey = default
phpstudy 软件 php53 里 php.ini 修改如上
安装DBGp
点击下载
一、安装DBGPPlugin。将dbgpPlugin.dll解压到Notepad++/plugins目录即可。
二、配置DBGPPlugin。菜单:插件->DBgp->Config,弹出DBgp配置窗口,配置如下
使用DBGPPlugin进行调试。
1)菜单:插件->DBgp->Config->Debugger,出现调试窗口。
2)用notepad++打开要调试的php文件,在浏览器中输入地址并加上参数XDEBUG_SESSION_START=1如:http://localhost/index.php?XDEBUG_SESSION_START=1
3)此时如果发现任务栏的Notepad++ 窗口闪烁,则说明DBGp配置成功。光标将会停留在第一行等待,此时可进行单步跟踪了。
相关文章推荐
- WinXP home edition下asp与php调试环境的建立
- Win98搭建调试ASP,PERL,PHP三种环境
- 使用Xdebug调试和优化PHP程序[2]
- EditPlus调试PHP完全攻略
- PHP程序员的优化调试技术和技巧
- 简单设置IIS配置PHP调试环境
- 简单设置IIS配置PHP调试环境
- 利用Editplus2的用户工具功能来即时调试PHP
- 利用Editplus2的用户工具功能来即时调试PHP
- PHP 程序员的调试技术
- PHP 程序员的调试技术(from ibm)
- 使用Xdebug调试和优化PHP程序[1]
- VS.PHP V2.0.1.2566破解补丁-用visual studio开发调试PHP程序
- 让Editplus调试PHP程序
- 让Vim支持PHP代码折叠、调试!
- 安装 dbg debugger 来调试你的 PHP 程序(windows)
- 使用Xdebug调试和优化PHP程序[3]
- 新手配置 PHP 调试环境
- [PHP]Zend下调试mysql_connect()未定义的解决