Commit 3adec437 authored by Anna Henningsen's avatar Anna Henningsen Committed by Rich Trott
Browse files

test: fix flaky test-inspector-connect-main-thread

Using `console.log()` likely interferes with the functionality of the
test, which also checks the interaction between inspector
and `console.log()` as part of the test. Using `process._rawDebug()`
solves that issue.

Refs: https://github.com/nodejs/node/pull/28870
Refs: https://github.com/nodejs/node/pull/29582

PR-URL: https://github.com/nodejs/node/pull/29588


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarDavid Carlier <devnexen@gmail.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 49cf67ef
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment