Skip to content

Commit e7b8de2

Browse files
committed
dap: correctly set the target when provided by the launch config
Signed-off-by: Jonathan A. Sternberg <[email protected]>
1 parent ebe66f6 commit e7b8de2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

commands/dap.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ func (d *adapterProtocolDebugger) Start(printer *progress.Printer, opts *BuildOp
6161
if cfg.ContextPath != "" {
6262
opts.ContextPath = cfg.ContextPath
6363
}
64+
if cfg.Target != "" {
65+
opts.Target = cfg.Target
66+
}
6467
return nil
6568
}
6669

0 commit comments

Comments
 (0)