File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/debug-adapter/connection Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -158,9 +158,13 @@ export class IosConnection implements INSDebugConnection {
158
158
public attach ( filePath : string ) : Promise < void > {
159
159
Logger . log ( 'Attempting to attach to path ' + filePath ) ;
160
160
return utils . retryAsync ( ( ) => this . _attach ( filePath ) , 6000 )
161
- . then ( ( ) => this . sendMessage ( 'Debugger.enable' ) )
162
- . then ( ( ) => this . sendMessage ( 'Console.enable' ) )
163
- . then ( ( ) => { } ) ;
161
+ . then ( ( ) => {
162
+ Promise . all < WebKitProtocol . Response > ( [
163
+ this . sendMessage ( 'Debugger.enable' ) ,
164
+ this . sendMessage ( 'Console.enable' ) ,
165
+ this . sendMessage ( 'Debugger.setBreakpointsActive' , { active : true } )
166
+ ] ) ;
167
+ } ) ;
164
168
}
165
169
166
170
public _attach ( filePath : string ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments