---
schema_version: "1"
id: e9736a38fba894f6d8fbd04b6acb53e487f2782e80500254aee8b2924da2f4a4
title: Debugging Deployed Custom Policies
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/pdk/1.8/policies-pdk-debug-deployed-policies.md
canonical_url: https://docs.mulesoft.com/pdk/1.8/policies-pdk-debug-deployed-policies
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b8d059f0acf0b18346f95a78070fa45a7fc81b2b51dcc2f1e7cd891d994b1db1
description: MuleSoft Documentation Site
release: "1.8"
latest: false
---
---
product: Omni Gateway Policy Development Kit (PDK)
version: 1.8
---

# Debugging Deployed Custom Policies

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Errors that aren’t present in the PDK’s debugging and testing environments might be present when the
policy is [applied to an API instance](https://docs.mulesoft.com/pdk/1.8/policies-pdk-apply-policies) in a production environment.

To use debug logs in a production environment, see
[Troubleshooting Self-Managed Gateway with Debug Logs](https://docs.mulesoft.com/gateway/latest/troubleshoot-debug-logs).

For more information about monitoring Omni Gateway, see
[Monitoring Omni Gateway](https://docs.mulesoft.com/gateway/latest/gateway-monitor).

## See Also

- [Debugging Custom Policies with the PDK Debugging Playground](https://docs.mulesoft.com/pdk/1.8/policies-pdk-debug-local)

- [Writing Integration Tests](https://docs.mulesoft.com/pdk/1.8/policies-pdk-integration-tests)
