Skip to content

ObsidianCdpTransportOptions.port?

ObsidianCdpTransportOptions › port?

Type: number

CDP port of an already-running Obsidian to **attach** to (the --remote-debugging-port it was launched with). When set, the harness attaches instead of owning an instance, and the version knobs are ignored. When omitted, an owned isolated instance is launched on an automatically chosen free port (no port is hardcoded).