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 aPHP Fatal error: Uncaught Error: Call to undefined function
error.
Here are all the configurations:
php -v
:
PhpStorm shows that Debugger is active:
php.ini
(/usr/local/etc/php/8.0/php.ini) has these configurations:
[xdebug]
zend_extension="xdebug.so"
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port="9003"
PhpStorm is not detecting Xdebug to set the interpreter:
Does anyone know what might be the issues with Xdebug not showing up?