This should help users diagnose internal errors in workers like exceptions from hooks or in pytest itself.
is_xdist_worker
is_xdist_master
get_xdist_worker_id