Reference
cdp_status
Passively report the current authority session, Metro client, and CDP target without connecting, relaunching, dismissing UI, or choosing an ambient target.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
metroPort | number | No | Diagnostic comparison only; cdp_status never changes the active Metro port | ||
platform | string | No | Filter target by platform (e.g. “ios”, “android”) to avoid connecting to the wrong device in multi-simulator setups |
cdp_status()