Is it possible to debug a launchd daemon during system start except by writing log messages to the console or to a file? My gut says no but I am curious if there might exist some exotic setup, like attaching LLDB remotely to a launch daemon in the VM while it is starting up or similar.
For the curious, the question came up while struggling with running MDQueries in that scenario. It seems Metadata might not be quite ready at that particular point in the system lifecycle but being able to actually peek in there at runtime would be priceless, of course.
For the curious, the question came up while struggling with running MDQueries in that scenario. It seems Metadata might not be quite ready at that particular point in the system lifecycle but being able to actually peek in there at runtime would be priceless, of course.