The Debug class implements an object that is used to display debugging messages.
| Property name | Brief description | |
| IndentLevel | The IndentLevel property determines the indent level in the development environment console. | |
| IndentSize | The IndentSize property determines the size of one indent. | |
| Listeners | The Listeners property returns the collection of elements that are used to display debug output. |
| Method name | Brief description | |
| Assert | The Assert method checks the Condition condition and displays an error message "Assert failed" if the condition is set to False. | |
| AssertMsg | The AssertMsg method checks the Condition and displays an error message if the condition is set to False. | |
| Fail | The Fail method displays an error message. | |
| Indent | The Indent method places an indent in the console on the next level. | |
| Unindent | The Unindent method places an indent in the console on the previous level. | |
| Write | The Write method displays a value without moving the cursor to a new line. | |
| WriteIf | The WriteIf method displays a value without moving the cursor to a new line if the specified condition is satisfied. | |
| WriteLine | The WriteLine method displays a value with moving the cursor to a new line. | |
| WriteLineIf | The WriteIf method displays a value without moving the cursor to a new line if the specified condition is satisfied. |
See also: