PHP ZF: I can't debug my IndexController.php actions code
I'm new to php and I'm using xampp, eclipse pdt, xdebug. I've set xdebug so that I can debug my site on apache but when I click 'debug as web page' in the eclipse ide only the breakpoint in the public/index.php and in the views开发者_运维知识库 get hit. If I put a breakpoin here
public function indexAction()
{
// action body
$this->view->s = "deam";
}
the debugger don't stop?! why is that? I can't debug the most important part of my application. :( Plese help me with this.
iam not sure how eclipse is working, but i think you have to define the correct entry point for the project.
In Netbeans i can set the index.php as "startpage" than iam able to debug my application.
精彩评论