PoCAT Documentation Get Started

Debug Mode Configuration

Scoped debug activation, masking, and TTL policy.

Last updated: 2026-05-27 Section: Troubleshooting

Debug mode must be scoped by time and masking to control security and cost risk.

Important Never enable always-on debug across production. Scope by service or tenant with a 30-minute TTL default.
debug:
  enabled: true
  scope:
    service: gateway-payment
    tenant: bank-a
  ttl: 30m
  maskFields:
    - token
    - accountNumber
    - residentId

Enable debug mode

  1. Specify target service, tenant, and TTL.
  2. Include PII and credentials in maskFields.
  3. Record activation events in audit logs.
  4. Restore settings after TTL expiry or manual shutdown.