我用的是notepad++, 加载xdebug后,toggle断点的时候,在代码前没有红点(有个绿点不知道是啥意思?),只在断点列表窗口里有断点所在行数。可是在IE里访问在调试的页面,notepad 有时可以闪黄,可是断点不起作用,也不能step,直接就显示完页面了。用php_info()也显示了xdebug的相关信息了。 请帮忙看怎么回事!php.ini设置extension=php_xdebug.dll
;zend_extension_ts=php_xdebug.dll
[Xdebug]
xdebug.profiler_enable=on
xdebug.trace_output_dir="d:\www\server\xdebug"
xdebug.profiler_output_dir="d:\www\server\xdebug"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
xdebug.remote_handler=dbgpxdebug.dump.GET=*
xdebug.show_local_vars=1
;zend_extension_ts=php_xdebug.dll
[Xdebug]
xdebug.profiler_enable=on
xdebug.trace_output_dir="d:\www\server\xdebug"
xdebug.profiler_output_dir="d:\www\server\xdebug"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
xdebug.remote_handler=dbgpxdebug.dump.GET=*
xdebug.show_local_vars=1
解决方案 »
- 求一正则表达式, 谢谢
- php 里如何让把一串字符分拆出来
- php与ajax中的问题
- TortoiseSVN和Apache2.2.19组合使用问题 !
- PHP的ORM问题!
- php 多文件上传的例子
- blob类型图片如何在html显示?(php)
- 多表查询之后如何应用结果?
- 把ASP的include的包含文件换成PHP的包含文件怎么不起作用呢?
- 怎样通过第一个下拉框选择的内容来控制第二个下拉框显示的选项?(不用javascript,因为数据太多了)?
- $("#box_"+id).html("<div class='clickedbox' id='clicked"+id+"'><div class='conte
- joomla新手问题
Xdebug的默认调试端口是9000,你用phpinfo确认一下端口,然后在Windows防火墙的例外中添加这个端口。
Remote IP IDE KEY Remote Path Local Path你是怎么配置的?
Unable to map filename: d:\www\web\nppptest.php (ip: 127.0.0.1 idekey: default) unix: 01有没有人配置成功的?
我的配置是:notepad++ 5.7 + DBGP Plugin 0.0.11.20 + Xdebug 2.1.0