PHP: Xdebug access denied but exits with code 0
P粉648469285
P粉648469285 2024-03-29 17:49:15
0
1
357

I have set up a PHP project using XAMPP on my Mac and installed Xdebug there, but on my PhpStorm I get:

I can't find anything online.

My php.ini

[xdebug]
;zend_extension=xdebug.so
zend_extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=0
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9002
xdebug.remote_log="/mnt/log/xdebug.log"
xdebug.remote_autostart=1
xdebug.idekey=phpstorm
xdebug.remote_mode = req

P粉648469285
P粉648469285

reply all(1)
P粉824889650

I may be late, but please make sure XDebug has write permissions to the folder, let alone if you are using Docker.

If local, then just for investigation purposes try:

chmod 777 /mnt/log/xdebug.log

However, I would rather choose to specify a folder to record the files.

If it's running within Docker, "chmod" the actual installed folder.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template