Interactions: Fix waitFor
behavior while debugging
#18460
Merged
waitFor
behavior while debugging
#18460