Is there any way to debug plugin in Logic Pro on Apple M1?

If you tried to expand Attach To Process menu you won’t see it there.

Select Debug->Attach to process by PID or name and you’ll get a popup. Paste AUHostingServiceXPC_arrow in the textbox named Pid Or Process Name.