View logs of running app

I have a MacOS app that has some print statements in code.

I'm running the MacOS app as a pre-compiled binary (not from Xcode, i.e. from the store). Are print logs stored anywhere? Is there any way to see them?

Try this. Open Xcode alongside your app. In Xcode click Debug in the menu bar, hover over Attach To Process and see if your app appears there. If so you can click it and you will see logs in Xcode once the debugger attaches. Hope this helps!

View logs of running app
 
 
Q