Skip to content

Commit bd28d75

Browse files
fix: pass devices for debugging correctly
Pass `deviceDebugMap` correctly in order to fix `tns debug`
1 parent 7bb2248 commit bd28d75

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)