Restart a session persisted by start({ persist: true }) in this tab, reusing its id so the
agent's existing session id keeps working across the reload. Returns the id, or undefined
when there is nothing live to resume. Never mints a new session: with no unexpired record this
is a no-op, so calling it at startup cannot turn the port on by itself.
Optionaloptions: DebugPortStartOptionsReturns the new session id; a no-op returning the current session if already running.
Optionaloptions: DebugPortStartOptions
Start/stop handle for the agent debug port.
The port evaluates arbitrary code in the page, so it is never started implicitly: activation is always an explicit gesture, the session id is regenerated each time, and nothing is persisted — a reload leaves it stopped.