dap: correctly set the target when provided by the launch config

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
Jonathan A. Sternberg
2025-07-14 14:51:05 -05:00
parent ebe66f6922
commit e7b8de2b0c
+3
View File
@@ -61,6 +61,9 @@ func (d *adapterProtocolDebugger) Start(printer *progress.Printer, opts *BuildOp
if cfg.ContextPath != "" {
opts.ContextPath = cfg.ContextPath
}
if cfg.Target != "" {
opts.Target = cfg.Target
}
return nil
}