diff --git a/lib/common/mobile/ios/device/ios-application-manager.ts b/lib/common/mobile/ios/device/ios-application-manager.ts index 5c757de159..4e7d0bc44e 100644 --- a/lib/common/mobile/ios/device/ios-application-manager.ts +++ b/lib/common/mobile/ios/device/ios-application-manager.ts @@ -102,7 +102,7 @@ export class IOSApplicationManager extends ApplicationManagerBase { } private async runApplicationCore(appData: Mobile.IStartApplicationData): Promise { - const waitForDebugger = appData.waitForDebugger && appData.waitForDebugger.toString(); + const waitForDebugger = (!!appData.waitForDebugger).toString(); await this.$iosDeviceOperations.start([{ deviceId: this.device.deviceInfo.identifier, appId: appData.appId, ddi: this.$options.ddi, waitForDebugger }]); }