From 22bcc7df74ffac2750374368745b8df96d615ca8 Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 3 Apr 2018 12:57:05 +0200 Subject: [PATCH] Added log output for debugging --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index b4a84d7..e35d4c6 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ app.use(express.static(__dirname + '/public')); function onConnection(socket){ + console.log(socket); socket.on('input', function(data) { console.log(data); var command = data.split(" ");