How to use Arduino Leonardo as ISP Programmer for Atmel

Hi there,
I was trying to use an Arduino Leonardo as an ISP programmer for an AtTiny44. It worked well on my colluages macbook pro, from the arduino IDE and from VSCode+platformio. However on windows 10, the flashing process would always timout with a not in sync message.

Since I was using the same ISP Code on the Leonardo and the same cabling this could not be the cause of the problem.

When trying to solve this, I went back to the Arduino IDE and figured there is a seperate menu option to use 32u4-based Arduinos as ISP like the Leonardo. However, I could not find any information on how to change the platformio.ini file accordingly to make it work from platformio as well.

Does anyone know how to solve this?

Kind regards,