---
title: debugged
framework: security
role: symbol
role_heading: Type Property
path: security/seccodestatus/debugged
---

# debugged

The code has been debugged by another process that was allowed to do so.

## Declaration

```swift
static var debugged: SecCodeStatus { get }
```

## Discussion

Discussion The debugger sets this flag when it attaches.
