We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 992a550 commit 506766eCopy full SHA for 506766e
src/debug-adapter/connection/iosConnection.ts
@@ -158,9 +158,13 @@ export class IosConnection implements INSDebugConnection {
158
public attach(filePath: string): Promise<void> {
159
Logger.log('Attempting to attach to path ' + filePath);
160
return utils.retryAsync(() => this._attach(filePath), 6000)
161
- .then(() => this.sendMessage('Debugger.enable'))
162
- .then(() => this.sendMessage('Console.enable'))
163
- .then(() => { });
+ .then(() => {
+ Promise.all<WebKitProtocol.Response>([
+ this.sendMessage('Debugger.enable'),
164
+ this.sendMessage('Console.enable'),
165
+ this.sendMessage('Debugger.setBreakpointsActive', {active: true})
166
+ ]);
167
+ });
168
}
169
170
public _attach(filePath: string): Promise<void> {
0 commit comments