3.1.41.2.2. waf_tools.vscode.build_launch
- waf_tools.vscode.build_launch(bld: BuildContext, vscode_dir: Node) None
Patch
launch.jsonwith debugger paths and program locations.Reads the template
launch.jsonfromvscode_dir, then for each debug configuration:Sets
miDebuggerPathto the detected GDB executable.Sets
cwdto the current build path.Constructs the
programpath using VS Code variables so that the correct unit test executable is launched.
- Parameters:
bld – The active build context.
vscode_dir – The target
.vscodedirectory node.