---
title: "insertDebugSignpost(_:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtl4commandencoder/insertdebugsignpost(_:)"
---

# insertDebugSignpost(_:)

Inserts a debug string into the frame data to aid debugging.

## Declaration

```swift
func insertDebugSignpost(_ string: String)
```

## Parameters

- `string`: The debug string to insert as a signpost.

## Discussion

Discussion Calling this method doesn’t change any behaviors, but can be useful for debugging purposes.
