Title: Do not enable with WD_DEBUG
Last modified: September 9, 2019

---

# Do not enable with WD_DEBUG

 *  [christer_f](https://wordpress.org/support/users/christer_f/)
 * (@christer_f)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/do-not-enable-with-wd_debug/)
 * I sometimes switch on WP_DEBUG also on production sites. When this happens the
   Test Gateway (if enabled) is active both for non-admins and for all IPs regardless
   of these settings. I therefore patched the line 102 in the plugin and removed
   WP_DEBUG as one of the conditions. I suggest that the plugin is changed this 
   way or – better – adding another check-box in the settings for this.

The topic ‘Do not enable with WD_DEBUG’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/test-gateway-for-woocommerce.svg)
 * [Test Payment Module for Woocommerce](https://wordpress.org/plugins/test-gateway-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/test-gateway-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/test-gateway-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/test-gateway-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/test-gateway-for-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [christer_f](https://wordpress.org/support/users/christer_f/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/do-not-enable-with-wd_debug/)
 * Status: not resolved