Title: debug info in console
Last modified: December 12, 2024

---

# debug info in console

 *  Resolved [fredel](https://wordpress.org/support/users/fredel/)
 * (@fredel)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/debug-info-in-console/)
 * hey! hope ur super fine! one question: why are debug parameters always active(
   or can i prevend somehow?)
   if(wpp_params.debug && window.console && window.console.
   log) { window.console.log(JSON.parse(response)); }Thx 🙂
    -  This topic was modified 1 year, 6 months ago by [fredel](https://wordpress.org/support/users/fredel/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/debug-info-in-console/#post-18195942)
 * Hi [@fredel](https://wordpress.org/support/users/fredel/), I’m doing fine. Thanks
   for asking! Hope you’re doing well over there.
 * About your question, that happens because in your wp-config.php file you have
   this:
 *     ```wp-block-code
       define( 'WP_DEBUG', true );
       ```
   
 * … which shouldn’t be there on a live site, that’s not a good programming practice
   as it should be used only on development environments. In some cases it could
   even expose your site to security risks. So either remove it from your wp-config.
   php file or set it to **false** like so:
 *     ```wp-block-code
       define( 'WP_DEBUG', false );
       ```
   
 *  Thread Starter [fredel](https://wordpress.org/support/users/fredel/)
 * (@fredel)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/debug-info-in-console/#post-18205494)
 * oh man, sorry 😉 seems debug infos are enabled through a security plugin, sorry
   for that! best

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘debug info in console’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [fredel](https://wordpress.org/support/users/fredel/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/debug-info-in-console/#post-18205494)
 * Status: resolved