Introduction
  • 09 Apr 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Introduction

  • Dark
    Light
  • PDF

Article Summary

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.

NameDescriptionUWPWebAvatars
---------------

Functions

Below is a list of functions supported by this object.

NameDescriptionUWPWebAvatars
logDisplays a value in the debugger output logYesYesYes
delayDelays script execution for a specified # of millisecondsYesYesYes
pingResponds with a simple pong responseYesYesYes
echoResponds with an echo responseYesYesYes

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.



What's Next