- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Description
The debug object provides a set of testing functions that are useful during the development and testing of your apps.
This object is documented first because we will use its functions throughout many other documentation examples.
Properties
Below is a list of properties supported by this object.
Name | Description | UWP | Web | Avatars |
---|---|---|---|---|
--- | --- | --- | --- | --- |
Functions
Below is a list of functions supported by this object.
Name | Description | UWP | Web | Avatars |
---|---|---|---|---|
log | Displays a value in the debugger output log | Yes | Yes | Yes |
delay | Delays script execution for a specified # of milliseconds | Yes | Yes | Yes |
ping | Responds with a simple pong response | Yes | Yes | Yes |
echo | Responds with an echo response | Yes | Yes | Yes |
Remarks
The log function is used heavily by authors during app development. It provides a way to inspect the value of your variables within the logic of your script.
Visit the fundamentals page to learn more about debugging and other programming concepts.