Skip to content

test: fix and improve debug-break-on-uncaught

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test debugger

Description of change

This test runs based on a expectation that the stderr will get the string 'Debugger listening on port'. But the actual message printed to stderr has changed to 'Debugger listening on host:port'. So the the actuals tests did not even start and eventually timeout.

Apart from that, changed vars to lets or consts.

Refer: https://github.com/nodejs/node/issues/10361

Merge request reports

Loading