There are times when you want to check the processing by outputting the debug log in WordPress. In that case, you can output to the log file by setting in wp-config.php.
That way is very easy. Since it explains with sample code, it ends soon. Let's see it now.
The default is as follows. (Version 4.8)
Just change this as follows.
Debug content is output to (web-root)/wp - content/debug.log.