Enable Xdebug logging by adding the following line into php.ini:
xdebug.remote_log=/log_path/xdebug.log , where log_path is a path to an existing directory. Please make sure that the web server has sufficient permissions 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(); ?>