The following method is available on the script’s global object as defined in the HTML5 specification as referenced by [OIPF_DAE2_WEB].
void debug( DOMString arg )
Description
Let the application developer print debug information on the debug output (for example, a console, a serial link or a file). The means to access this debug output is outside the scope of this specification and implementation-dependent. A line feed character SHALL NOT be inserted automatically at the end of the string by the implementation. Example: debug(“[APP] value = ” + value + “\n”);
Arguments
arg
String to print on the debug output.
Help us improve the HbbTV Developer Portal. If you spot an issue, have a question, or would like to suggest an improvement to the API Reference or Developer Guide, please let us know by raising an issue on GitHub.