From 2517795901a6afe1deaa8a8976fff31cdd2b9245 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Thu, 11 Jul 2024 17:54:00 +0200 Subject: [PATCH] debug simulators shutdown --- lib/simulator-management.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/simulator-management.js b/lib/simulator-management.js index f27a653ec..d2bc8164a 100644 --- a/lib/simulator-management.js +++ b/lib/simulator-management.js @@ -256,9 +256,11 @@ export async function shutdownOtherSimulators() { devicesSetPath: device.devicesSetPath, }); const allDevices = _.flatMap(_.values(await simctl.getDevices())); + this.log.debug(`>>> allDevices: ${JSON.stringify(allDevices, null, 2)}`); const otherBootedDevices = allDevices.filter( (device) => device.udid !== device.udid && device.state === 'Booted', ); + this.log.debug(`>>> otherBootedDevices: ${JSON.stringify(otherBootedDevices, null, 2)}`); if (_.isEmpty(otherBootedDevices)) { this.log.info('No other running simulators have been detected'); return;