From e7b8de2b0c6a7901a9342adc3836eb1cd2b24905 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Mon, 14 Jul 2025 14:51:05 -0500 Subject: [PATCH] dap: correctly set the target when provided by the launch config Signed-off-by: Jonathan A. Sternberg --- commands/dap.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/dap.go b/commands/dap.go index 8beddb1af..2b975d000 100644 --- a/commands/dap.go +++ b/commands/dap.go @@ -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 }