在AMFPHP上使用xdebug调试php [英] Debug php with xdebug over AMFPHP

查看:75
本文介绍了在AMFPHP上使用xdebug调试php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WAMP Server 2.2,实际上它已经带有xdebug.我设法使用NetBeans 7.1进行了调试. 我的问题是它实际上不是我在启动调试的应用程序上标记的断点.它始终是AMFPHP的index.php. 难道我做错了什么?有人使用xdebug和AMFPHP吗?有小费吗? 谢谢.

I'm using WAMP Server 2.2, which practically comes with xdebug already on. I managed to start a debug fine using NetBeans 7.1. My problem is that its not actually the breakpoints that I mark on the application that starts the debug. It is always the index.php from AMFPHP. Am I doing something wrong? Does anyone uses xdebug and AMFPHP? Any tips? Thanks.

推荐答案

Netbeans和其他IDE将始终在脚本的第一行中断.有一个选项可以关闭:

Netbeans and other IDEs will always break on the first line of the script. There is an option to turn at off:

转到工具"->选项"->"PHP->"常规",然后取消选中停止在第一行".

Go to Tool-> Options-> PHP-> General and uncheck Stop at first line.

这篇关于在AMFPHP上使用xdebug调试php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆