From bd28d75ff07e714faae26866ecaabfbf48be601c Mon Sep 17 00:00:00 2001 From: Dimitar Kerezov Date: Thu, 8 Mar 2018 17:05:17 +0200 Subject: [PATCH] fix: pass devices for debugging correctly Pass `deviceDebugMap` correctly in order to fix `tns debug` --- lib/commands/debug.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/commands/debug.ts b/lib/commands/debug.ts index 60dd61fbdc..e33ecea663 100644 --- a/lib/commands/debug.ts +++ b/lib/commands/debug.ts @@ -38,7 +38,9 @@ export class DebugPlatformCommand implements ICommand { await this.$devicesService.detectCurrentlyAttachedDevices({ shouldReturnImmediateResult: false, platform: this.platform }); await this.$liveSyncCommandHelper.executeLiveSyncOperation([selectedDeviceForDebug], this.platform, { - [selectedDeviceForDebug.deviceInfo.identifier]: true, + deviceDebugMap: { + [selectedDeviceForDebug.deviceInfo.identifier]: true + }, // This will default in the liveSyncCommandHelper buildPlatform: undefined });