check for Realm updates when a debugger is attached on iOS & OS X

previously never checked for updates on OS X.