diff --git a/test/common/debugger.js b/test/common/debugger.js index dbaa62e71d3f1c..109a29ffa6c277 100644 --- a/test/common/debugger.js +++ b/test/common/debugger.js @@ -8,10 +8,12 @@ const BREAK_MESSAGE = new RegExp('(?:' + [ ].join('|') + ') in', 'i'); let TIMEOUT = common.platformTimeout(10000); -// Some macOS and Windows machines require more time to receive the outputs from the client. +// Some macOS and Windows machines require more time to receive the outputs from the +// client, especially under CI load where the async Debugger.getScriptSource CDP +// round-trip in the initial break handler can be slow. // https://github.com/nodejs/build/issues/3014 if (common.isWindows || common.isMacOS) { - TIMEOUT = common.platformTimeout(15000); + TIMEOUT = common.platformTimeout(30000); } function isPreBreak(output) {