---
title: debugDescription
framework: system
role: symbol
role_heading: Instance Property
path: system/filepath/debugdescription
---

# debugDescription

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

## Declaration

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

## Discussion

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

## See Also

### Working with File Paths

- [length](system/filepath/length.md)
- [description](system/filepath/description.md)
