> via operating system debugging facilities.
That's an interesting approach, let me know how it works out!
In my previous efforts, I just used a small HTTP server inside the target program. You can see it in action here, fine-tuning an iOS target:
https://www.youtube.com/watch?v=ArcClqt2vTc
Since it's HTTP, it also works on the device. You can obviously also access those facilities from within the process, at least for a macOS app.
Right now, I am focusing on a more image-like user-experience, but with individual (small-ish) documents instead of a huge monolithic image. The difference in trying out UI-oriented idea compared to having to create a separate Xcode project each time is huge, and of course jut doing it live without restarting.
My guess is that these documents will evolve to be a lot like .frameworks, so code + resources. Budding an app is then no more than just copying the app shell and filling it with the right frameworks. (See Xcode). Once budded, you might interact via the HTTP route. Or maybe via debugger?