pub fn assign_free_inspector(serving: &mut [Serving], free: Option<u16>)Expand description
#3237: a lone worker with no --inspect and no --inspect-port has no
inspector port of its own, so wrangler dev takes 9229 — and two sessions
started together both see it free and both bind it, one dying with Address already in use. Give it the free port the OS hands out instead. free is
None when no port could be found, or when the -- passthrough already
carries --inspector-port (wrangler rejects it twice, and the caller chose
it); the worker then keeps wrangler’s own default, as before.