🔨 Tool for debugging Smart TV applications
- ✅ Display logs in regular Console in DevTools
- ✅ Display logs in HTTP Traffic
- ✅ Display logs on Debug Screen
- ✅ Debug Screen:
- Logs are prefixed with current time
- AutoScroll is enabled
- Visibility is toggleable (show / hide after pressing
SPECIAL_BUTTON) - Wrap lines
- ✅ HTTP Traffic:
- Logs are not prefixed
- Logs are slugged (removed special chars)
- ✅ DevTools Console
- Logs are prefixed with constant string
- ⛔ Read HTTP Traffic in server-side part
Attach code below into main HTML file in your app, ex. index.html:
<script src="src/client/debugging.js"></script>
<link rel="stylesheet" href="src/client/debugging.css"/>When browser execute debugging.js file, in window namespace will be available
DebuggingSmartTV object with API which is described below.
Add availability to display Debug Screen.
Debug Screen will be display after you click SPECIAL_BUTTON
Create one-second lock which logs on every tick.
Listen on DOM events and produce logs:
window.onloadwindow.onerror
Log any message.
Default value: 3️⃣ (keyCode: 51)
-
ECMAScript 3StandardReason: Destination platforms does not support ES5+.
-
Use HTTP protocol instead of HTTPS
Reason: Unsecured protocol could be sniff ex. by Wireshark.
The MIT License @ 2026