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

# insertDebugSignpost(_:)

Inserts a debug string into the captured frame data.

## Declaration

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

## Discussion

Discussion For more information, see Naming resources and commands.

## See Also

### Annotating the command buffer with debug information

- [pushDebugGroup(_:)](metal/mtlcommandencoder/pushdebuggroup(_:).md)
- [popDebugGroup()](metal/mtlcommandencoder/popdebuggroup().md)
