<?php define('WP_DEBUG', true); ?>
When you’re in development mode, it’s useful to get errors in scripts as they occur. Just place this line anywhere in your functions.php file for your active child theme and you will start seeing debug feedback complete with script names and line numbers. You can just remove this line, or set “WP_DEBUG” to false if you want to shut off debugging or definitely before you go live!