Since I see an answer here for valgrind
, I'll mention that lldb
provides a --wait-for
flag (just as gdb-apple
does), for man lldb | grep wait
returns:
--wait-for Tells the debugger to wait for a process with the given pid or name to launch before attaching. -w Alias for --wait-for