Catalina: Instruments with Full Disk Access
In Xcode you may start using Instruments with Xcode -> Services -> Toggle Instruments Recording. 

This will trigger a chain of settings events inside OSX. The result can be verified by looking to File and Folders in Privacy tab (Xcode will be added also there).