Cannot debug engine source on mac

I cannot debug engine source on mac despite having editor debugging symbols downloaded. Breakpoints cannot be set to the engine source code. I tried it in both XCode and VSCode but it doesn’t work anywhere.

However, it works completely fine on win10 machine in Visual Studio.

How can I fix this?

I have the same problem with 4.25. Any help pls?