I have some automation set up which starts a server on Darwin (os11), and a client on another machine, and runs some tests.
It seems like the server process is dying, but there’s no clear indication of why (enabling logs just shows the server setting up, binding it’s listening ports, and then waiting for someone to connect). I’m capturing the stdout & stderr of the process, and I don’t see anything like ‘segmentation fault’ or anything.
I was thinking of running the server under strace, but then I realized that isn’t available on Darwin (and I’m not sure if it would even help anyways, other than maybe telling me what signal is killing the process, or if it’s exiting ‘normally’). The machines are somewhat locked down so trying to run the server myself (and under a debugger) is more of a last resort.
Is there anything like https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/registry-entries-for-silent-process-exit on Darwin?