Skip to content
Advertisement

Xdebug not creating log files

Looking for some advice. Changed servers and I have setup Xdebug. PhpStorm detects it enabled, so does PHP, although I cannot get it to work.

(Firewall port opened, my firewall disabled, settings all configured, but I am getting nothing)

In order to identify the issue, I need to be able to see the Log of Xdebug, but I cannot get it to output anything. I tried it without a log file, then I have also created a log file and given Apache access to it, but still nothing.

I am running CentOS 8 Apache – Log_Debug enabled Running on php7.3

PHP – track_erorr enabled.

/opt/plesk/php/7.3/etc/php.d/50-xdebug.ini

JavaScript

(IP has been changed for obvious reasons)

Can anyone tell me why I cannot get Xdebug to write out any errors or connection attempts to: /tmp/xdebug.log

Here is my phpinfo() debug info:

enter image description here

Advertisement

Answer

Thanks for the comments, I didn’t noticed Xdebug has updated its self. After removing all previous reference i re-setup the the debug.ini (I dont store custom ini settings in php.ini i reference them correctly)

Here is my updated xdebug.ini This works by using the browser Plug-in to enable to the Debugger mode

JavaScript

All default settings can be found here: https://github.com/xdebug/xdebug/blob/master/xdebug.ini

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement