URL : https://prostars.net/349
This project is example for Resolving ptrace issues when using gdbserver on Apple Silicon M1/M2 Mac.
Project file is 'CMakeLists.txt'. 'Open as Project' should be selected. You need to set 'Toolchains' and 'CMake' in preferences. And, in the Run Configurations settings, make sure to modify the IP to the IP of your Guest OS.