Skip to main content

create_launch_draft

Function create_launch_draft 

Source
pub fn create_launch_draft(
    target: DebugTargetKind,
    server: DebugServerKind,
) -> Result<Value, String>
Expand description

Build the VS Code launch configuration draft for a target/server, mirroring TS createDebugProfiledebugProfileToLaunchDraft. Errors (with the TS message) when the server is not valid for the target.