Enable Xdebug logging by adding into php.ini the following line:
xdebug.remote_log=/log_path/xdebug.log , where log_path is the path to the existing directory. Please make sure that you have sufficient permission to write into this directory.
Please restart your web server after editing the file for changes to take effect.
To find php.ini used by command line, you need to run php --ini in the command line.
To find php.ini used by the web server you need to open a web page with a simple PHP script:
<?php phpinfo(); ?>