Problem enabling debugging symbols on Mac OS Catalina

I’m not sure if this helps since I haven’t played with it, but I saw a post a few days ago that may help: Adding debug symbols to package from nixpkgs - #3 by danieldk