Xcode 11 not showing debug output 4 out of 5 times

I am having this problem where if I run my application, 4 out of 5 times I don't see any output appearing in the debugger window. It is wasting my time a lot, I have to restart my app multiple times before I can see any debugger output.


I was having this problem once in a while with previous Xcode builds, but now it's becoming unbearable. Especially because I am currently testing the app startup flow.


Any tips to fix this?


Could it maybe be related to our app using `CBCentralManagerOptionRestoreIdentifierKey`, which makes the app start in a slightly different way than normal use?