I'm working on setting up my own instance of NuGet Gallery and adding Basic Authentication to the download piece. I've got that mostly sorted out, but I'm running into something I can't explain.
When I hit the api/v2/package download URL from a browser I hit all the breakpoints I would expect to hit. However, when I open up another instance of Visual Studio and set my NuGet sources to only point to my local instance of NuGet Gallery and use the NuGet Package Manager UI, the NuGet package downloads without hitting any of the break points. I have break points all over the place and I would expect the same behavior from the debugging session whether I call the URL from the browser or whether I use the NPM UI in Visual Studio.
Anyone have any ideas on what's causing this behavior?