Skip to content

Commit 8b6a032

Browse files
committed
Reduce debug console output further
1 parent 0f058d0 commit 8b6a032

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Adapter.hx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import haxe.Json;
21
import haxe.io.Path;
32
import protocol.debug.Types;
43
import js.node.Buffer;

src/Connection.hx

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Connection {
6363
public dynamic function onEvent<P>(type:NotificationMethod<P>, data:P) {}
6464

6565
function onMessage<T>(msg:Message) {
66-
trace('GOT MESSAGE ${haxe.Json.stringify(msg)}');
66+
// trace('GOT MESSAGE ${haxe.Json.stringify(msg)}');
6767
if (msg.id == null) {
6868
onEvent(new NotificationMethod(msg.method), msg.params);
6969
} else {
@@ -84,7 +84,7 @@ class Connection {
8484
method: name,
8585
params: params
8686
});
87-
trace('Sending command: $cmd');
87+
// trace('Sending command: $cmd');
8888
var body = Buffer.from(cmd, "utf-8");
8989
var header = Buffer.alloc(4);
9090
if (callback != null)

0 commit comments

Comments
 (0)