Here is my solution - https://stackoverflow.com/a/66603876/403801.
Basically it was related to a Debugger tab window so when I changed my running behavior to open a new window instead of a window tab I have not had this issue anymore.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: