Debug mode
Introduction
To protect sensitive data, Patchworks redacts header credentials and other secret values in flow run logs by default. Access tokens, authorisation headers, and request payload content containing secrets are masked, so they can't be read by anyone reviewing a run.
Debug mode is a company-level setting that lets an admin temporarily display these values in full - useful when you're troubleshooting authentication issues and need to confirm exactly what's being sent.
How redaction works
With Debug mode off (the default), sensitive values in flow run logs are replaced with a redaction placeholder wherever they appear - for example, in the Requests and Responses tabs of the run details panel:
X-Shopify-Access-Token : [ "[redacted len=38 sha256=a7a4c2ab27ceaf11]" ]The placeholder tells you about the value without revealing it:
len
The character length of the original value.
sha256
A truncated SHA-256 fingerprint of the original value.
Redaction applies to credentials and other secret data wherever they appear in request/response details - including authentication headers (e.g. Authorization, X-Shopify-Access-Token) and request bodies containing secret values.
Enabling Debug mode

Go to Settings in the left-hand navigation and select Company Admin.
Scroll to the Log settings section.
Toggle Debug mode on.
Save.
While enabled, credentials and other secret data are shown in full in this company's flow run logs. Toggle it off to return to redacted logs.
Default
Off - all headers and body requests with sensitive values are redacted.
Scope
Company-wide. Applies to all flow run logs for this company - it's not a per-flow or per-user setting.
Who sees the effect
Everyone with access to this company's flow run logs.
Applies to
Runs logged and Canvas logs while Debug mode is enabled. Logs captured while it was off remain redacted.

Security considerations
Only enable Debug mode for as long as you need it, then turn it off.
Avoid sharing run logs captured in Debug mode (e.g. attaching them to support tickets) - or rotate any credentials they contain if you do.
For routine investigation, the redaction placeholder (
len+sha256) is usually enough - reach for Debug mode only when you need the actual value.
Last updated
Was this helpful?