Skip to content

Commit ce304f9

Browse files
Merge pull request #4827 from NativeScript/vladimirov/fix-debug-ios
fix: `tns debug ios` should work on device
2 parents 78c5550 + 47484fd commit ce304f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/mobile/ios/device/ios-application-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class IOSApplicationManager extends ApplicationManagerBase {
102102
}
103103

104104
private async runApplicationCore(appData: Mobile.IStartApplicationData): Promise<void> {
105-
const waitForDebugger = appData.waitForDebugger && appData.waitForDebugger.toString();
105+
const waitForDebugger = (!!appData.waitForDebugger).toString();
106106
await this.$iosDeviceOperations.start([{ deviceId: this.device.deviceInfo.identifier, appId: appData.appId, ddi: this.$options.ddi, waitForDebugger }]);
107107
}
108108

0 commit comments

Comments
 (0)