Only mark events for deferred sending if a debugger isn't attached,
otherwise they could potentially be sent multiple times needlessly.