Debug

The Debug accessor (class ) is used to debug prototypes. It prints a message to the console or the output window when the corresponding value is modified or queried.

Example

When the following doTranslateY accessor is queried or changed, a message is printed to the output console, displaying the current value: