# SB_SETUP_DEBUG

Enables or disables the debug mode.

## Command usage

```csharp
llMessageLinked(LINK_SET, SB_SETUP_DEBUG, string str, key id);
```

```snippet adminbot-api-parameters-RxnGv0pgFW command="SB_SETUP_DEBUG"
str | yes | 0- to disable debug<br>1 - enable debug
id  | yes | \--
```

## Comments

With debug on, AdminBot script starts sending debugging messages to local chat `DEBUG_CHANNEL`.  
This can be used to trace the commands and AdminBot status during the development process.

## Example

```csharp
llMessageLinked(LINK_SET, SB_SETUP_DEBUG, "1", NULL_KEY);
```