---
title: Enable Debug Logging for Conditional Shipping
description: Enable debug logging in Conditional Shipping for WooCommerce to see why a shipping method is or is not showing.
url: "https://wpfactory.com/docs/conditional-shipping-debug-logging/"
updated: "2026-09-27"
category: Troubleshooting
---

# Enable Debug Logging for Conditional Shipping

To debug why a shipping method is or is not showing, enable Debug logging in [Conditional Shipping for WooCommerce: Restrict Shipping Options by Anything](https://wpfactory.com/item/conditional-shipping-for-woocommerce/). With Debug on, the plugin writes a log you can read under the WooCommerce status screens.

**Important:** Debug currently logs ONLY the Cities and Date/Time conditions. It records the detected customer city and the date/time range evaluations. It does NOT log the product, category, tag, shipping-class, order-amount, user-role, user-ID, membership, or payment-gateway checks. Set your expectations accordingly: if your issue is with one of those conditions, the log will not contain it.

### Step-by-step

1. Go to **WPFactory > Conditional Shipping** (also reachable at **WooCommerce > Settings > Conditional Shipping**).
2. On the **General** section, enable **Debug** (`wpjup_wc_cond_shipping_debug`).
3. Save changes.
4. Reproduce the problem: visit the cart or checkout with a scenario that triggers the Cities or Date/Time condition.
5. Go to **WooCommerce > Status > Logs** and open the log with the source `conditional-shipping-for-woocommerce`.
6. Read the entries to see the detected customer city and the date/time range evaluations.

### Options reference

| Label | Option ID | Type | Default | Free/Pro |
| --- | --- | --- | --- | --- |
| Debug | `wpjup_wc_cond_shipping_debug` | Checkbox | No | Free |

### What the log covers

- **Cities** (Require Cities and Exclude Cities): the customer city the plugin detected, which is what the city match is compared against.
- **Date/Time** (Require Date/Time and Exclude Date/Time): the range evaluations, so you can see whether the current time fell inside a configured range.

For any other condition, the log stays silent. Turn Debug off again once you have finished troubleshooting.

Need a hand? Our team answers every ticket on the [Conditional Shipping support forum](https://wpfactory.com/support/).

Related articles

- [Plugin and Theme Conflicts with Conditional Shipping](https://wpfactory.com/docs/plugin-theme-conflicts-conditional-shipping/)
- [Fix Conditional Shipping After Site Migration](https://wpfactory.com/docs/fix-conditional-shipping-after-site-migration/)
- [Conditional Shipping: Developer Hooks and Filters Reference](https://wpfactory.com/docs/woocommerce-conditional-shipping-hooks-filters/)
- [Reset a Conditional Shipping Settings Section](https://wpfactory.com/docs/reset-conditional-shipping-settings/)
- [Getting Started with Conditional Shipping for WooCommerce](https://wpfactory.com/docs/how-to-use-conditional-shipping/)
