How to debug Widget Xcode 12

1.4k views Asked by At

How to debug Widgets (WidgetKit) on Xcode 12?

For example, setting breakpoints or at least making print statements work.

Thank you!

1

There are 1 answers

0
Morniak On BEST ANSWER

Go to Debug, Attach to process by PID or Nameā€¦

In the process name field, enter you widget target name. Then, run your widget target.