I have made a simple Hello World app for OSX that creates a context group, a context, runs a script and calls my own function, using the C-APIs, all good.
But what I can't do, is get my app/JSContext to appear in Safari's Inspectable Applications list. (It's just empty)
I can't tell if this is supposed to be automatic, or if I need to enable something in a context, VM etc (Couldn't find any references to being debuggable/inspectable in docs, headers)
This project claims to do it (based on screenshots in the wiki), but looking through the code I couldn't see any specific configuration options, settings etc https://github.com/kasper/phoenix
This answer suggests iOS apps need to be signed... could that be necessary for macOS apps, too? Safari: no Inspectable applications
Using Xcode 10B61, Safari 11.1.2, OSX 10.13.6
Has anyone managed to debug a macOS app with Safari?
I signed the application with my Apple Dev account, (I had renewed it for a different reason after I posted this question) and it appeared in Safari, (and break'd, to let me debug) and worked great!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With