Skip to content

probe-web / @probe-web/dap / ProbeLaunchArguments

Interface: ProbeLaunchArguments

Defined in: adapter.ts:23

Arguments of launch / attach (custom fields of this adapter).

Extends

  • LaunchRequestArguments

Properties

PropertyTypeDescriptionDefined in
transport?"websocket" | "webusb"websocket (default): probe-rs serve at url. webusb: probe-rs in a Worker in this page, over WebUSB (the probe must already be granted to the page; no disassembly).adapter.ts:28
url?stringprobe-rs serve WebSocket URL; required for the websocket transport.adapter.ts:30
token?stringToken probe-rs serve was started with.adapter.ts:32
probe?stringProbe to use: substring of its identifier or serial number (first probe if omitted).adapter.ts:34
chip?stringTarget chip name as probe-rs knows it, e.g. MCXA153.adapter.ts:36
protocol?"Jtag" | "Swd"Debug wire protocol (default Swd).adapter.ts:38
program?string | Uint8Array<ArrayBufferLike>Firmware ELF: bytes, or a URL to fetch. Loaded for debug info; flashed on launch unless flash is false.adapter.ts:40
flash?booleanSet to false to launch without flashing program (default true).adapter.ts:42
format?"target" | "elf" | "bin" | "hex" | "uf2" | "idf"Image format for flashing: target (default) uses the chip's own default, e.g. idf on ESP32 chips, elf on most others.adapter.ts:44
svd?string | Uint8Array<ArrayBufferLike>CMSIS-SVD for the Peripherals scope: bytes or URL.adapter.ts:46
rtt?booleanShow RTT output as DAP output events (default true when the program links RTT).adapter.ts:48
rttChannels?{ channelNumber?: number; dataFormat?: "String" | "BinaryLE" | "Defmt"; }[]Per-channel RTT configuration (channelNumber, dataFormat), as probe-rs's own launch.json has. Channels default to String, so a firmware writing samples to one has to say so — otherwise its bytes are decoded as text and land in the console as noise.adapter.ts:55
stopOnEntry?booleanStop at the reset vector after launch instead of running.adapter.ts:57