dotMemory and dotTrace cannot attach to process running AppInsights
When trying to attach dotMemory to my ASPNET Core app I get the following error:
NET Runtime version 4.0.30319.0 - Loading profiler failed. A profiler is already loaded, so the request to attach another profiler was denied. Process ID (decimal): 10824. Message ID: [0x2511].
My application is using AppInsights. It is configured in the ASPNET Core middleware and the AppInsights monitor is running on the server. Disabling the monitor did not allow the Jet Brains tools to attach to my application.
Below are the registry keys and values relating to profiling tools:
How can I disable AppInsights so that I can run the Jet Brains tools?