With respect to a build system improvement I'm exploring, I'm going off the beaten track (i.e. something other than vscode with Garmin extension). I would like to be able to programmatically 1) start the simulator, 2) load a prg, and 3) stream out System.println() logging events. I'm having trouble with the last part (log streaming).
I understand that such logging is transmitted into vscode's debug adaptor via a socket connection, and that the log events are transmitted back after a command. I suspect that one might be able to use the SDK's shell tool to query for such log events, but there doesn't appear to be any documentation on how it works.
Does anyone have any insight into how to use the shell for this, or have some other tacit knowledge on how to stream out log events?
(Note I'm on Mac OS)