Debug with "arch -x86_64 python3" command

Hello everyone,

I am looking for a way to debug my script in PyCharm using the "arch -x86_64 python3" command.

The command is required to run a 64-bit version of Python (3.10.10) on my macOS system (M1 arm64) due to a library that is only available for x86_64 architecture.

I am able to run my script in the PyCharm terminal with "arch -x86_64 python3", but how can I edit the debug configuration to debug it? Without the command, my script crashes as it launches Python in arm architecture mode.

Thanks in advance :)