File tree 2 files changed +16
-3
lines changed 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vscode-debugprotocol" ,
3
3
"description" : " Npm module with declarations for the Visual Studio Code debug protocol" ,
4
- "version" : " 1.0.2 " ,
4
+ "version" : " 1.0.3 " ,
5
5
"author" : " Microsoft Corporation" ,
6
6
"license" : " MIT" ,
7
7
"repository" : {
Original file line number Diff line number Diff line change @@ -191,8 +191,10 @@ export module DebugProtocol {
191
191
export interface SetBreakpointsArguments {
192
192
/** The source location of the breakpoints; either source.path or source.reference must be specified. */
193
193
source : Source ;
194
- /** The code locations of the breakpoints */
195
- lines : number [ ] ;
194
+ /** The code locations of the breakpoints. */
195
+ breakpoints ?: SourceBreakpoint [ ] ;
196
+ /** Deprecated: The code locations of the breakpoints. */
197
+ lines ?: number [ ] ;
196
198
}
197
199
/** Response to "setBreakpoints" request.
198
200
Returned is information about each breakpoint created by this request.
@@ -490,6 +492,17 @@ export module DebugProtocol {
490
492
variablesReference : number ;
491
493
}
492
494
495
+ /** Properties of a breakpoint passed to the setBreakpoints request.
496
+ */
497
+ export interface SourceBreakpoint {
498
+ /** The source line of the breakpoint. */
499
+ line : number ;
500
+ /** An optional source column of the breakpoint. */
501
+ column ?: number ;
502
+ /** An optional expression for conditional breakpoints. */
503
+ expression ?: string ;
504
+ }
505
+
493
506
/** Information about a Breakpoint created in the setBreakpoints request.
494
507
*/
495
508
export interface Breakpoint {
You can’t perform that action at this time.
0 commit comments