# Debug - OSC
[OSC]

Debug allows sending/receiving debug messages via OSC. More...

Debug allows sending/receiving debug messages via OSC.

By default debug messages are sent over both USB and UDP, but this can be modified.

## Devices

There's only one Debug system, so a device index is not used in OSC messages to it.

## Properties

Debug has six properties - active, level, usb, and udp.

Active
  The 'active' property corresponds to the active state of the Debug system. If Debug is set to be inactive, it will not respond to any other OSC messages. If you're not seeing appropriate responses to your messages to Debug, check the whether it's active by sending a message like

      /debug/active

  You can set the active flag by sending

      /debug/active 1

Level
  The level property corresponds to the level of detail of the debug messages you want to receive. Typically in a debug system, low-level messages are given a low number and higher-level messages get higher numbers. So, if you don't need to see all the low level stuff, you can simply set the debug level to a higher number so you're not flooded with tons of nitty gritty messages.

Values for the levels:

- 0 - Always send
- 1 - Error messages
- 2 - Warning messages
- 3 - Normal/test messages

The default debug level is 3. Set the level by sending a message like:

    /debug/level 2

Usb
  The usb property determines whether debug messages will be sent over USB. This is turned on by default.

To set this to off, send a message like:

     /debug/usb 0

Udp
  The udp property determines whether debug messages will be sent over UDP. This is turned on by default.

To set this to off, send a message like:

     /debug/udp 0