Is it possible to do local memory profiling using Visual Studio Enterprise 2019 (v16.6.3)? I've tried .NET Object Allocation Tracking, Memory usage and CPU usage using the startup project but I keep getting no data:

When I switch to Attach to a running process, I have a lot less options but I do see data when running CPU usage and attaching it to the running func.exe:

This might be the cause: https://docs.microsoft.com/en-us/visualstudio/profiling/troubleshooting-performance-tools-issues?view=vs-2017#no-data-is-collected-by-the-profiling-tools
How can I do memory profiling on an azure function?