<!--
{
  "availability" : [
    "macOS: 10.7.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/kSecTransformDebugAttributeName",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@kSecTransformDebugAttributeName"
  },
  "title" : "kSecTransformDebugAttributeName"
}
-->

# kSecTransformDebugAttributeName

A write stream that should receive debug data.

```
let kSecTransformDebugAttributeName: CFString
```

## Discussion

Set this attribute to a <doc://com.apple.documentation/documentation/CoreFoundation/CFWriteStream>. This signals the transform to write debugging information to the stream. If you set this attribute to <doc://com.apple.documentation/documentation/CoreFoundation/kCFBooleanTrue>, debug data is written to `stderr` instead.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)