---
title: debugDescription
framework: swift
role: symbol
role_heading: Instance Property
path: swift/string/debugdescription
---

# debugDescription

A representation of the string that is suitable for debugging.

## Declaration

```swift
var debugDescription: String { get }
```

## See Also

### Describing a String

- [description](swift/string/description.md)
- [customMirror](swift/string/custommirror.md)
- [hashValue](swift/string/hashvalue.md)
- [hash(into:)](swift/string/hash(into:).md)
