I'm trying to debug my Symfony3 app with the built in server but it doesn't stop at breakpoint.
So I launch my app with bin/console server:run --env=dev
and I can access it through the following URL: 127.0.0.1:8000
.
Here is what I have done so far :
Xdebug installation and configuration : seems OK from my phpinfo()
PhpStorm setup of the PHP CLI Interpreter configuration the one I get when I do a php -v
127.0.0.1
port 8000
(I tried with and without path mapping)PHPSTORM
Here is what my xdebug log shows
What am I doing wrong?
I previously had and a php version 5.6.30 and I can see in the log that there is a xdebug:language_version="5.6.30"
-- could there be a conflict from this previous installation?
I think I read all the post relate to this subject but I found only one that was actually talking of the built in server.
Thanks LazyOne! On Mac the port 9000 is used by php-fpm if installed (which was my case). So xdebug port has to be changed to another one like 9001 on both php.ini config and PHPSTORM Xdebug config. Don't forget like me to stop and restart listening de debug for the change to be activated :p