---
title: debugDraw
framework: Compute Graph
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/computenodegraph/pipelines/options-swift.struct/debugdraw
---

# debugDraw

Whether debug draw should be included in pipelines.

## Declaration

```swift
var debugDraw: Bool
```

## Discussion

Discussion Debug Draw is disabled by default and its code is removed from shaders for optimal performance.
