# DebugSettings

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Not browsable, Not creatable, Not replicated, Service
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/DebugSettings/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/DebugSettings

Collection of various developer-facing diagnostics information.

## Properties

### TickCountPreciseOverride

```luau
DebugSettings.TickCountPreciseOverride: Enum.TickCountSampleMethod
```

- Tags: Plugin security

Sets the internal sampling method used to measure elapsed time with consistency across platforms.

### IsScriptStackTracingEnabled

```luau
DebugSettings.IsScriptStackTracingEnabled: boolean
```

- Tags: Plugin security

Whether or not a stacktrace is displayed in the output for an error.

### ReportSoundWarnings

```luau
DebugSettings.ReportSoundWarnings: boolean
```

- Tags: Plugin security

Whether or not sound warnings should be reported.

### DataModel

```luau
DebugSettings.DataModel: number
```

- Tags: Read only, Plugin security, Save only

Describes whether a [`DataModel`](https://rapi.sleaze.dev/classes/DataModel.md) is actively in memory, as an integer (where 1 = true, and 0 = false).

### InstanceCount

```luau
DebugSettings.InstanceCount: number
```

- Tags: Read only, Plugin security, Save only

The number of instances active in the simulation.

### JobCount

```luau
DebugSettings.JobCount: number
```

- Tags: Read only, Plugin security, Save only

Returns the number of internal DataModel jobs actively being processed.

### PlayerCount

```luau
DebugSettings.PlayerCount: number
```

- Tags: Read only, Plugin security, Save only

The number of players currently in the active game-instance.

### RobloxVersion

```luau
DebugSettings.RobloxVersion: string
```

- Tags: Read only, Plugin security, Save only

The current client version of Roblox. Can also be retrieved by using the version() function.

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
