First off, PHP isn't compiled, it's interpreted
For debugging, as with wordpress, phpbb should work with Eclipse PDT / Netbeans with xdebug.
I'm using the zend debugger in zend studio. it has a firefox toolbar so you can start a debug session from any page.
I've had less success debugging anything built on Codeigniter because it doesn't accept GET requests though.