Expand description
Debug launch-config generation — a port of TS createDebugProfile +
debugProfileToLaunchDraft + createLaunchPreview and the launchJsonCore
merge plan. Produces VS Code launch.json drafts for alp debug-config.
Relies on serde_json’s preserve_order feature so emitted JSON keeps the
same key order as the TypeScript CLI.
Structs§
- Launch
Json Write Plan - Result of merging a draft into
launch.json: the serialized document plus whether a same-named configuration was overwritten.
Functions§
- create_
launch_ draft - Build the VS Code launch configuration draft for a target/server, mirroring
TS
createDebugProfile→debugProfileToLaunchDraft. Errors (with the TS message) when the server is not valid for the target. - create_
launch_ json_ write_ plan - Merge
draftinto an existinglaunch.json(or a fresh document), replacing any configuration with the samename. Mirrors TScreateLaunchJsonWritePlan. - launch_
preview_ document - The
launch.json-shaped preview document:{version, configurations:[draft]}. - launch_
preview_ notes - The static advisory notes attached to a launch preview (TS
createLaunchPreview).