PHPStorm not going to any other file than index.php
Answered
I have installed Xdebug and it's working find for custom testing scripts but when I try to use it with my organisation code, it doesn't go anywhere but stay on index.php. I don't use manual path mappings as I don't need them.
I have set break points but it doesn't go to them. Any obvious thing i'm missing here?
Please sign in to leave a comment.
Hello,
Do you use Xdebug bookmarks/extension?
Are the requests actually go to other pages/scripts?
Did you try to open and debug another page?
Hey,
I'm using a chrome extension for Xdebug. Since it's my first time on PHP and Xdebug, I'm not sure if the requests are actually going to pages/script but
I'm trying to stop execution on this controller method when I click on the button that calls this method api but the execution stops on index page only.
I tried Step over, step into (it goes to auto_load.php, bootstrap.php etc)and all other possible options there but it just repeats index.php 3 times. Can you help me debug it?
Got it working! Had to uncheck "Break at first line of PHP Script" from preferences->PHP.