Apache2 Xdebug not stopping in breakpoint in PhpStorm

132 views Asked by At

I'm using Ubuntu 16.04 and I have my projects on a plain Apache 2 with PHP 7.3. I have installed Xdebug but for some reasons I can't make it stop at the breakpoint.

enter image description here

enter image description here

Am I missing some configs here? I tried calling xdebug_get_code_coverage(); function to check if I do have Xdebug installed and yes the function does exist.

I also have the PhpStorm configs set.

enter image description here

I have these entries on all my php.ini files. apache2, cli and fpm. just to make sure

[Xdebug]
zend_extension=/usr/lib/php/20180731/xdebug.so
xdebug.default_enable=1
xdebug.idekey=PHPSTORM
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_port = 9000
xdebug.remote_connect_back=1

My listener is also turned on and my breakpoints are set:

enter image description here

But when I hit http://localhost/info/test.php?XDEBUG_SESSION_START=1 its not stopping on the breakpoints.

0

There are 0 answers