Skip to main content

parse_server_kind

Function parse_server_kind 

Source
pub fn parse_server_kind(raw: Option<&str>) -> Result<DebugServerKind, String>
Expand description

Parse --server. Mirrors TS parseServerKind: absent/empty defaults to none; an unknown value is an error.