pub fn parse_debug_port(args: &str) -> Option<u16>Expand description
Parse the argv text for --remote-debugging-port=N (or --remote-debugging-port N).
Returns the first match. Pure, no I/O — exercised by unit tests with one
fixture per OS format. NUL-separated cmdline payloads (Linux, macOS) work
because the splitter accepts both \0 and ASCII whitespace.