Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging CakePHP in Netbeans always stops on index.php

I've setup a CakePHP project in Netbeans and use xdebug for debugging. When I start a debugging session, Netbeans stops in the root index.php file on every request. I have to press continue and then my breakpoints are hit.

Is there a way to configure xdebug to avoid this behavior? It's pretty tedious having to hit continue on every request.

Thanks!

like image 248
Paul Avatar asked Dec 12 '22 04:12

Paul


1 Answers

Answer in another post: here. Issue was not specific to CakePHP, but rather PHP debugging in general with Netbeans.

like image 62
Paul Avatar answered Feb 12 '23 01:02

Paul