xdebug mapping setting's in my project php


I've been working on setting up correctly my xdebug debugger so I can improve my soft dev process, I manage to get xdebug working with phpstorm for some files that are outside of the project as in the first picture. But when it comes to debug some of the files that are inside of my mvc project (my app folder) I can set my debbuger to work properly and as far as now Im kind of stuck so any help would be welcome.

This is my project folder

When I debbug phptest.php it work perfectly because it's an easy mapping But when I need to debbug something like any php script on my controller folder for example, I can't get to there.

This is how I've set up my mappings

So please any ideas on how to do this.


Added a new screen shot of my mappings settings as @rafail pointed :)

mapping screen shot




For further or similar problems, my error was that i added index.php to my excluded paths and because of that I was never be able to debug, I deleted it and now it works fine.

especial thanks to Rafail Akhmetshin for his patience help.


  • Check for exclude paths
  • Start debugging with phpStorm button
  • Make sure you are listening on the port

as a note point make sure to check/uncheck

break at first line on php code

and break on first line when no mapping

People are also looking for solutions to the problem: using twilio account how to create a dynamic conference call for voiceurl in php


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.