I've just discovered PHP debugging using xdebug integrated in netbeans IDE and I think it's great! how did I live without it? :)
But there's one problem: if I set a breakpoint deep in my code, I have to press "Continue" (F5) several times before I get to a breakpoint, because script stops at every include() and require() functions.
My includes look like that:
go to Configuration > PHP > General and uncheck "Stop at First Line"
Approve the changes and try again
require is a new "First Line" ;)