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

# debugDescription

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

## Declaration

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

## Discussion

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