Kirzilla
Kirzilla

Reputation: 16596

Please help with EclipseIDE message: "No appropriate file located or no file selected. Debug Terminated"

I'm always getting this message in alert box. Please tell me what should I do to avoid it?

Thank you

Upvotes: 1

Views: 2668

Answers (4)

Matoeil
Matoeil

Reputation: 7289

create a new project with path settings the folder at the source of your project ( that includes all your project files )

Upvotes: 0

Aaron Koenig
Aaron Koenig

Reputation: 11

Ensure you've added PHP support to your project and have adjusted your PHP Include Path Source such that the project is contained within the Source directory.

Upvotes: 1

scipilot
scipilot

Reputation: 7447

I have also been having this problem, and I do not want to disable remote debugging.

After fruitlessly trying many different combinations of configuration, I tried deleting my Eclipse project and recreating it. Now the project debugs perfectly!

I guess my project (which is large and quite old) has become somehow corrupted or tangled. I only tried it because a newer project was debugging fine, so I was pretty sure my settings were right. I hope this helps someone.

Update: You also get error this if you are missing project include path under your project settings: PHP Include Path > Source.

Upvotes: 0

Kirzilla
Kirzilla

Reputation: 16596

The reason why I was getting this message and my solution see here XDebug, how to disable remote debugging for single .php file?

Upvotes: 0

Related Questions