test: fix flaky test-debug-port
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
It can happen that first data chunk received in stdout is not exactly
'debug> '
. Make sure the exit condition is met.