diff --git a/echo_local.html b/echo_local.html
index 09f535c2..66068cf7 100644
--- a/echo_local.html
+++ b/echo_local.html
@@ -42,6 +42,7 @@
timer = send_data.periodical(1000);
};
s.onclose = function(e) {
+ debug(">> onclose: " + e);
if (timer) {
timer = $clear(timer);
}