I'm working on something that happens just when my app restarts, and I'm trying to get logs for that. So I build my app, kill it, and restart it.
Killing the app makes Xcode disconnect from the running process.
After I restart the app, I can select Debug > Attach to Process
to attach Xcode to the new process, but I'll miss everything that happens between the app start and when I manually attach to the process.
Is there a way to tell Xcode there no process running currently, but as soon as process X starts, attach the debugger to it
?