File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- import haxe .Json ;
2
1
import haxe .io .Path ;
3
2
import protocol .debug .Types ;
4
3
import js .node .Buffer ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class Connection {
63
63
public dynamic function onEvent <P >(type : NotificationMethod <P >, data : P ) {}
64
64
65
65
function onMessage <T >(msg : Message ) {
66
- trace (' GOT MESSAGE ${haxe. Json .stringify (msg )}' );
66
+ // trace('GOT MESSAGE ${haxe.Json.stringify(msg)}');
67
67
if (msg .id == null ) {
68
68
onEvent (new NotificationMethod (msg .method ), msg .params );
69
69
} else {
@@ -84,7 +84,7 @@ class Connection {
84
84
method : name ,
85
85
params : params
86
86
});
87
- trace (' Sending command: $cmd ' );
87
+ // trace('Sending command: $cmd');
88
88
var body = Buffer .from (cmd , " utf-8" );
89
89
var header = Buffer .alloc (4 );
90
90
if (callback != null )
You can’t perform that action at this time.
0 commit comments