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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Netbeans and other IDEs will always break on the first line of the script. There is an option to turn at off:
Go to Tool-> Options-> PHP-> General and uncheck Stop at first line.