Debug print API

Support in HbbTV

Available since: HbbTV 1.0 (ETSI TS 102 796 V1.1.1, OIPF DAE V1.1)

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 )


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.


debug(“[APP] value = ” + value + “\n”);



String to print on the debug output.