How do I tell Eclipse which file to run in a PHP project?
I'm Eclipse Luna (4.4.0)
on Ubuntu.
I have some files in my PHP project. For example, I have 2 files in my project: index.php
and solve.php
, I edit solve.php
and I press F11. Eclipse will launch solve.php
, but I want it to launch anyway index.php
.
What should I do to get this behavior?
source to share
I think you just need to create a Debug config for the project with the main php file as the main project file. Check out this step by step tutorial to set it up in the correct way.
Refer to the Debugging Using XDebug Documentation for more information.
source to share