We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc611a commit a3b32f8Copy full SHA for a3b32f8
packages/debug/src/browser/breakpoint/breakpoint-applier.ts
@@ -37,7 +37,9 @@ export class BreakpointsApplier {
37
for (const breakpointsBySource of DebugUtils.groupBySource(breakpoints).values()) {
38
const args: DebugProtocol.SetBreakpointsArguments = {
39
source: breakpointsBySource[0].source!,
40
- breakpoints: breakpointsBySource.map(b => b.origin as DebugProtocol.SourceBreakpoint)
+ breakpoints: breakpointsBySource.map(b => b.origin as DebugProtocol.SourceBreakpoint),
41
+ // Although marked as deprecated, some debug adapters still use lines
42
+ lines: breakpointsBySource.map(b => (b.origin as DebugProtocol.SourceBreakpoint).line)
43
};
44
45
// The array elements are in the same order as the elements
0 commit comments