`waitDebuggerExit` or something along those lines :?