I have a problem with Xdebug on Mac OS using Big Sur. Below, I will explain what is happening. When I run phpinfo() – I don’t see a Xdebug section at all. When I run commands such as xdebug_call_file() it throws a PHP Fatal error: Uncaught Error: Call to undefined function error. Here are all the …
Tag: xdebug-3
Xdebug always listening for new requests and prevents webpages from loading in case I don’t listen
I have a strange setup on my new workplace and it works like this: if I have PhpStorm running and have “Start Listening for PHP Debug Connections” on, then my local PHP application works fine. As soon as I close PhpStorm completely (and consequently stop listening to PHP debug connections), then m…
Xdebug 3 doesn’t stop on breakpoints
I setted Xdebug extension and it’s installed, I can see it on phpinfo() but it doesn’t stop on the breakpoints and it doesn’t write anything into xdebug.log file. This is php.ini contents: And this is launch.json from VSCode: Answer You don’t say which of your three configurations you&…
Docker Cannot assign requested address
I think I’m pretty close (I hope) to having xdebug running in a docker container, aiming to connect via Visual Studio Code. I think that maybe I’m supposed to add a config to the /etc/hosts file in the container, directing an IP address to the url my files are being served over, but am not sure wh…
Why xdebug 3 is not loaded?
I have restarted nginx and php7.4-fpm. xdebug 3 looks like is installed based on this: Ini directories from phpinfo(): Loaded Configuration File /etc/php/7.4/fpm/php.ini Scan this dir for additional .ini files /etc/php/7.4/fpm/conf.d Additional .ini files parsed /etc/php/7.4/fpm/conf.d/10-opcache.ini, /etc/ph…