Symptom
When I started debugging with XCode on a physical iPhone 8 device, the debugger stopped with “Finished running”. The app was successfully deployed, up and running on a device, but it could not start debugging.
On a simulator, Xcode could get into debug mode.
Restarting xcode did not solve the problem.
Solution
Reboot the iPhone and restart Xcode.