Skip to content

Reference

cdp_status

Passively report the current authority session, Metro client, and CDP target without connecting, relaunching, dismissing UI, or choosing an ambient target.

NameTypeRequiredDefaultConstraintsDescription
metroPortnumberNoDiagnostic comparison only; cdp_status never changes the active Metro port
platformstringNoFilter target by platform (e.g. “ios”, “android”) to avoid connecting to the wrong device in multi-simulator setups
cdp_status()