Post

Replies

Boosts

Views

Activity

Reply to Debug Previews
The XCode 13 RC release notes do mention following in the preview section: Previews ... Deprecations Xcode 13 no longer includes a menu item in the Previews canvas for debugging a preview. Instead, use the Debug > Attach to Process menu item to attach the debugger to your previewed app. (73981969) However, there are no instructions anywhere on how to find the process to attach to. I tried attaching to XCPreviewAgent process that seems to be spawned when I switch into run mode. Only to be hit by permission failures to debug.
Sep ’21