Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_runner: support using --inspect with --test #44520

Merged
merged 15 commits into from
Sep 10, 2022
Prev Previous commit
Next Next commit
try
  • Loading branch information
MoLow committed Sep 8, 2022
commit 3346b00606b8c4195da2f675facd763640c140be
3 changes: 2 additions & 1 deletion lib/internal/test_runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ function runTestFile(path, root, inspectPort) {
});

child.stderr.on('data', (data) => {
if (isInspectorMessage(data)) {
console.log('[stderr]', { data: data.toString() });
if (isInspectorMessage(data.toString())) {
process.stderr.write(data);
}
stderr += data;
Expand Down