Horje
WP Simple Debug creates a simple function to allow developers to write to the WordPress debug.log.

Noted That:

  • To install correctly this wp-simple-debug.zip.
  • Fisrt Download the wp-simple-debug.zip to your computer
  • Extract/Open wp-simple-debug.zip to Your Computer.
  • Then, Find readme.txt file inside wp-simple-debug.zip and Open readme.txt.
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the the Tips Below.

Start the Tips:

1. First Download "wp-simple-debug.zip" Plugin to your Local Computer. (Click Download)

2. Then, Login to your "yourdomain.com/wp-admin" Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse "wp-simple-debug.zip" Downloaded plugin from your computer, Where you downloaded wp-simple-debug.zip According to Step – 1 Above then, click on "Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "WP Simple Debug" folder is added on left sidemenu. Now, Click on "WP Simple Debug" folder.

   Noted that: If you do not see "WP Simple Debug" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about WP Simple Debug Configurtions and Settings or How to work "WP Simple Debug" in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to "Plugins" + "Installed Plugin" from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find "WP Simple Debug" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is WP Simple Debug
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide

This section describes how to install the plugin and get it working.

  1. Upload the wp-simple-debug directory to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Note: This will turn on WordPress debugging, which will show any errors in any other plugins or themes.

Usage

After installing & activating the plugin…

  1. Use the function where you would like to in your code: wpsd_log( $data, $note, $file, $line, $full_backtrace )
  2. $data – required – mixed – The data you would like to log. This can be a string, array or object.
  3. $note – optional – string – Will log any note you’d like before outputting the data, such as a variable name. Default ”;
  4. $file – optional – bool – If true, will output the path to file calling the function. Default true.
  5. $line – optional – bool – If true, will output the line in the file calling the function. Default true.
  6. $full_backtrace – optional – bool – If true, will output the full backtrace to how the function was called, then die to prevent excessive amounts of data being written. Default false.

simple, write, wordpress, debuglog, developers, allow, debug, creates, function,

Name

Reffered: https://wordpress.org/

Share on: