Title: Debug not creating debug.log
Last modified: August 22, 2016

---

# Debug not creating debug.log

 *  [brucekaiser](https://wordpress.org/support/users/brucekaiser/)
 * (@brucekaiser)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/debug-not-creating-debuglog/)
 * WP3.9.2 is not creating or updating the log file in wp-content.
    I have created
   a small error in a plugin, which is being reported to the display, so I know 
   debug is working and there is an error to report. I believe config.php is correct,
   as follows:
 *     ```
       * For developers: WordPress debugging mode.
        */
   
       //INSERTED TO ADD DEBUG TO A FILE
       // Enable WP_DEBUG mode
       define('WP_DEBUG', true);
       //define('WP_DEBUG', false);
   
       // Enable Debug logging to the /wp-content/debug.log file
       define('WP_DEBUG_LOG', true);
       //define('WP_DEBUG_LOG', false);
   
       // Disable display of errors and warnings
       define('WP_DEBUG_DISPLAY', true);
       //define('WP_DEBUG_DISPLAY', false);
       @ini_set('display_errors',0);
   
       // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
       //define('SCRIPT_DEBUG', true);
       define('SCRIPT_DEBUG', false);
       ```
   
 * Can anyone point me in the right direction?
    Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [brucekaiser](https://wordpress.org/support/users/brucekaiser/)
 * (@brucekaiser)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/debug-not-creating-debuglog/#post-5240540)
 * Upon further research, I’ve found that this is apparently a premissions issue.
   Debug works as expected only if I set my wp-content permissions to 777. I’d really
   like to avoid that.

Viewing 1 replies (of 1 total)

The topic ‘Debug not creating debug.log’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [brucekaiser](https://wordpress.org/support/users/brucekaiser/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/debug-not-creating-debuglog/#post-5240540)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
