Only for developers WordPress has debugging feature which allows them to find errors, deprecated functions. By default this debugging feature is set to false but during development mode programmers may have it enabled.
Open your WordPress site’s wp-config.php file and set debugging function to true or false (shown below) as per your requirement:
define(‘WP_DEBUG’, false); // disable debugging mode by default
define(‘WP_DEBUG’, true); // enable debugging mode