It would be great to have this in DevTools. (Passing on feedback from Wilson who I'll cc: in)
from the conversation: "Basically I want to pause app launch until the devtools are ready to start profile, so I don't miss anything on startup"
MOZ_PROFILER_STARTUP might be helpful here?
This should work, but doesn't, and tracking via 1062503