views:

198

answers:

1

My Xdebug is properly configured as I could see in phpinfo(). But when I debug a project a Netbeans6.8, I get “Can not debug missing index file index.php” warning. Then another bigger settings window opens up as in this image. And, yes, index.php file is there. It's not missing.

How can I fix it?

Apache web_root: e:\htdocs
Project homepage: e:\htdocs\sliksvn\version3\terminus3.0\public\
+1  A: 

Hi, I have posted a step by step article for this issue. You can check it out at my blog http://blog.elinkmedia.net.au/2010/02/08/netbeans-debugger-with-zend-framework/

Jim Li
@Jim: you should consider at least summarizing your article here. As it stands, this answer would become worthless if that link were to break.
Shog9
@Shog9 my apology. Since the question was asked directly from my blog by the author of the question, i apparently have neglected the rest of the community. Let me try to summarise here.Basically the difficulty here is caused by mod_rewrite, which is used by ZF. To overcome the issue, you need to go to "Project Properties" - "Run Configuration" - "Advanced" - "Debug URL", choose "Ask Every Time". Hope it helps this time.
Jim Li
@Jim Li. Thanks. It solved the problem. Sorry, I can't upvote your answer I need atleast 15 points.