How to use frida to trace process startup?


All the examples seem to describe attaching frida to an already-running process, how does one go about instrumenting an application from launch ?