---
layout: "default"
title: "CustomDebugStringConvertible"
description: "Swift documentation for 'CustomDebugStringConvertible': A type with a customized textual representation suitable for
debugging purposes."
keywords: "CustomDebugStringConvertible,protocol,swift,documentation,debugDescription"
root: "/v2.1"
---

<div class="intro-declaration"><code class="language-swift">protocol CustomDebugStringConvertible</code></div>

<div class="discussion comment">
    <p>A type with a customized textual represent