Here is a very clean and comprehensive article describing in details of setting up your eclipse workspace with Debugging enabled for php projects.
http://www.thecodingmachine.com/setting-up-a-xdebug-debugging-environment-for-php-wamp-eclipse-pdt/
Happy Coding :-)