A small problem I stumbled on today: I am developing a PHP application in Netbeans and wanted to use XDebug for debugging. I have done this before and it has never failed me.
But my new project just wouldn’t break on my breakpoints, Netbeans ignores the breakpoints.
When you try to Google this problem you realize that XDebug is not your self-playing-piano… There are a lot of things that can go wrong. I found the answer in this question on Stackoverflow:
On thing to remember is that the index page of our application must be a PHP file, it can not be a HTML file.
Very annoying problem that can easily be overlooked…