how to on debugger in wordpress

  1. Access your WordPress site's files through FTP or your hosting account's file manager.
  2. Locate the wp-config.php file in the root directory of your WordPress installation.
  3. Create a backup of the wp-config.php file before making any changes.
  4. Open the wp-config.php file using a text editor.
  5. Find the line that says "/ That's all, stop editing! Happy blogging. /" in the wp-config.php file.
  6. Just above this line, insert the following code: define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false );
  7. Save the changes to the wp-config.php file and close it.
  8. Upload the modified wp-config.php file back to your server if you accessed it via FTP.
  9. After making these changes, the WordPress debugger will be enabled, and any PHP errors will be logged to a debug log file.