Skip to content

Commit d77388d

Browse files
Merge pull request #3434 from NativeScript/kerezov/debug
fix: pass devices for debugging correctly
2 parents 7bb2248 + bd28d75 commit d77388d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/commands/debug.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ export class DebugPlatformCommand implements ICommand {
3838
await this.$devicesService.detectCurrentlyAttachedDevices({ shouldReturnImmediateResult: false, platform: this.platform });
3939

4040
await this.$liveSyncCommandHelper.executeLiveSyncOperation([selectedDeviceForDebug], this.platform, {
41-
[selectedDeviceForDebug.deviceInfo.identifier]: true,
41+
deviceDebugMap: {
42+
[selectedDeviceForDebug.deviceInfo.identifier]: true
43+
},
4244
// This will default in the liveSyncCommandHelper
4345
buildPlatform: undefined
4446
});

0 commit comments

Comments
 (0)