Skip to content

Commit d612c74

Browse files
committed
chore: add debug logging
1 parent 36308e1 commit d612c74

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
include: package:very_good_analysis/analysis_options.yaml
2+
3+
linter:
4+
rules:
5+
avoid_print: false

integration_test/binary_models/binary_models_test/test/test_helper.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'dart:async';
2+
import 'dart:convert';
23
import 'dart:io';
34

45
import 'package:path/path.dart' as path;
@@ -36,6 +37,13 @@ class ImposterServer {
3637
],
3738
);
3839

40+
_process!.stdout.transform(const Utf8Decoder()).listen((data) {
41+
print('Imposter stdout: $data');
42+
});
43+
_process!.stderr.transform(const Utf8Decoder()).listen((data) {
44+
print('Imposter stderr: $data');
45+
});
46+
3947
// Wait for server to be ready
4048
await _waitForServer();
4149
}

0 commit comments

Comments
 (0)