Nilog Developers
  • Introduction
  • Integrations
    • WooCommerce
      • Adding Products
      • Variable Product
      • Product Attributes
      • Managing Orders
      • Coupon Management
      • Currency Switcher
      • WooCommerce Reports
      • WooCommerce Analytics
      • Tax Settings
      • Multi Vendors
      • Email Settings
      • WooCheckout Webview
      • Web Store Layout
    • App Builder
      • App Builder Widgets
    • User Authentication
      • Login with Google
      • Login with Apple
      • Login with Facebook
      • Login with Firebase OTP
    • Cloud Messaging
      • Firebase Cloud Messaging
      • OneSignal
    • Google Maps API Key
  • Developers
    • React Native Development Setup
    • WP Generate Rest API keys
  • Reference
    • API spec
      • WordPress
    • Language Support
    • Changelog
      • App Builder
      • Nilog Monitor
    • Upgrade Your App
    • License Key
    • Enable WP Debug
    • Troubleshooting
      • JWT Authentication for WP REST API plugin installed
      • Hide Admin Account From Vendor List In Dokan Backend
Powered by GitBook
On this page
  1. Reference

Enable WP Debug

PreviousLicense KeyNextTroubleshooting

Last updated 3 years ago

WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the “debug” mode throughout WordPress. It is assumed to be false by default and is usually set to true in the file on development copies of WordPress.

For information on other debugging tools built into WordPress see

Usage

Enable debugging

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

Disable debugging

define( 'WP_DEBUG', false );

wp-config.php
Debugging in WordPress