XDebug is definitely a wonderful tool for debugging PHP. I tried using Eclipse IDE for remote debugging but it had some version conflicts and so I searched for some other IDE but I didn't imagine that Vim will turn out to be the one.
This Box.net blog tells you how to do debug PHP with Vim and XDebug on Linux.
This Box.net blog tells you how to do debug PHP with Vim and XDebug on Linux.