Skip to content

probe-web / @probe-web/client / index / fromLaunchJson

Function: fromLaunchJson()

ts
function fromLaunchJson(text, name?): ImportedConfig;

Defined in: config.ts:168

Read a probe-rs launch.json configuration.

Accepts either a single configuration object or a whole VS Code launch.json with a configurations array, in which case name picks one (otherwise the first probe-rs entry wins). Keys are camelCase, as probe-rs's DAP server declares them.

Parameters

ParameterType
textstring
name?string

Returns

ImportedConfig