When you connect a remote iOS Device to your development environment via Remote Debugging, it is as if you connected the device locally to your machine using the USB connector.
Remote Debugging not only simulates a local device connection, it allows you to test and debug your app on a large number of devices, of different iOS versions. This frees you from the need to hold the devices in your near vicinity.
Before you can start to build, deploy and debug your iOS application on remotely located iOS devices, you must initiate a remote debugging session and connect the device to Xcode.
It is not recommended to use remote debugging on devices connected to DHM's with latency greater than ~50ms (round trip).
There are three prerequisites:
Xcode must be closed when initiating the Remote Debugging session or Xcode will not identify the device.