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

# Debugging Deployed Custom Policies

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

Errors that are not present in the PDK debugging playground or PDK’s integration might be present
when the policy is [applied to an API instance](https://docs.mulesoft.com/pdk/1.3/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 Flex 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.3/policies-pdk-debug-local)

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