Skip to content

Commit

Permalink
Reduce debug console output further
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed Jul 5, 2018
1 parent 0f058d0 commit 8b6a032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Adapter.hx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import haxe.Json;
import haxe.io.Path;
import protocol.debug.Types;
import js.node.Buffer;
Expand Down
4 changes: 2 additions & 2 deletions src/Connection.hx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Connection {
public dynamic function onEvent<P>(type:NotificationMethod<P>, data:P) {}

function onMessage<T>(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 {
Expand All @@ -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)
Expand Down

0 comments on commit 8b6a032

Please sign in to comment.