Debug PHP on Eclipse MARS with XDebug: error: file does not exist ← (PHP)

one text

Solution:

Just right click on your index.php and select Debug As | PHP Web Application from the drop down menu. This will automatically create the server configuration.

Source