Skip to content

probe-web / @probe-web/dap / connectProbeRs

Function: connectProbeRs()

ts
function connectProbeRs(args, kind): Promise<ConnectResult>;

Defined in: adapter.ts:570

The default AdapterOptions.connect: open a probe-rs session over the chosen transport (a probe-rs serve WebSocket, or WebUSB in this page), flash program on launch (unless flash: false), then load its debug info, RTT when the program links it, and the optional SVD. The connection is closed again if any of those steps fails.

Parameters

ParameterType
argsProbeLaunchArguments
kind"attach" | "launch"

Returns

Promise<ConnectResult>