From 8b6a032df2253eced3079ae49989aa5d24b37903 Mon Sep 17 00:00:00 2001 From: Jens Fischer Date: Thu, 5 Jul 2018 22:55:05 +0200 Subject: [PATCH] Reduce debug console output further --- src/Adapter.hx | 1 - src/Connection.hx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Adapter.hx b/src/Adapter.hx index 6ccabf8..7a2c170 100644 --- a/src/Adapter.hx +++ b/src/Adapter.hx @@ -1,4 +1,3 @@ -import haxe.Json; import haxe.io.Path; import protocol.debug.Types; import js.node.Buffer; diff --git a/src/Connection.hx b/src/Connection.hx index 5c1dcbd..7395211 100644 --- a/src/Connection.hx +++ b/src/Connection.hx @@ -63,7 +63,7 @@ class Connection { public dynamic function onEvent

(type:NotificationMethod

, data:P) {} function onMessage(msg:Message) { - trace('GOT MESSAGE ${haxe.Json.stringify(msg)}'); + // trace('GOT MESSAGE ${haxe.Json.stringify(msg)}'); if (msg.id == null) { onEvent(new NotificationMethod(msg.method), msg.params); } else { @@ -84,7 +84,7 @@ class Connection { method: name, params: params }); - trace('Sending command: $cmd'); + // trace('Sending command: $cmd'); var body = Buffer.from(cmd, "utf-8"); var header = Buffer.alloc(4); if (callback != null)