I know how to debug plugins in Logic Pro with Rosetta ON. But it looks like my plugin behaves differently when Rosetta is OFF. And Apple Sillicon was introduced many years ago, so I wonder if finally someone created any option to debug Logic Pro without Rosetta?
One thing is this context that is important to understand is, that with rosetta off, the plugins are actually not hosted in Logic process anymore. So attaching the debugger to the Logic process itself will not help you with debugging.
Instead, Logic will start a second process named AUHostingService (or sometimes AUHostingServiceXPC_arrow) which is the process that actually hosts the plugin. This means, you need to attach the debugger to that process, not to the Logic process.
The CLion IDE that I use has the “Attach to unstarted process” debugging option where you just specify the name of a process that you are expecting to be launched in future. It will then look out for that process and as soon as it comes up attach the debugger to it. When debugging AU plugins in Logic, I often use that feature, so I can open a session in Logic and as soon as the Logic starts the hosting process in the background, the debugger is automatically attached to the hosting process. From there on it’s pretty much the same workflow as with any other host.
I don’t know if attaching to unstarted processes is also a feature of other IDEs.