Use the following steps to setup pdt. All images can be enlarged by clicking on it.
Choose Window -> Preferences... to open the preferences dialog. Open PHP and select PHP executables. Press Add to add a new executable. Give the executable a name and select /usr/bin/php5 as executable path. Make sure that you select xDebug as PHP Debugger. Press Finish to close the window. And press OK to close the preferences window.
Right click on PHP Web Page and choose New
Fill in these values:
Server Debugger: xDebug
File: /index.php
Url, Auto generate: uncheck
Url, Url: localhost/index.php
Choose Debug
If all goes well, a browser will open on index.php and the debugger will stop at your breakpoint.