I am on 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 am editing solve.php
and I press F11. Eclipse will run solve.php
but I want it to run index.php
anyway.
What should I do to get this behaviour?
I think that you just need to create a Debug Configuration for the project with your main php file as the main file of the project . Take a look at this step by step tutorial to configure it the right way .
Take look at the Debugging using XDebug documentation for more information .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.