---
title: debugDescription
framework: system
role: symbol
role_heading: Instance Property
path: system/filepath/root-swift.struct/debugdescription
---

# debugDescription

A textual representation of the path root, suitable for debugging.

## Declaration

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

## Discussion

Discussion If the content of the path root isn’t a well-formed Unicode string, this replaces invalid bytes with U+FFFD. See String.init(decoding:).
