microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
747 stars 709 forks source link

How to do enhanced debugging? #459

Closed dotkas closed 9 months ago

dotkas commented 9 months ago

Hello.

I have created a Docker image following the guide here.

When doing a dotnet restore on a project with some private Azure feeds dependencies when running the Docker image locally, it works fine.

When pushing this image to AWS Lambda it fails to authenticate properly, i.e.

"error NU1301: Unable to load the service index for source"

Running the dotnet restore command with --verbosity d does not give me deeper hints to where the issue lies.

Is it possible to enable more enhanced debugging on the artifacts-credprovider side?

Best

dotkas commented 9 months ago

Found a solution. For anybody coming here, I found this that I enabled which gave me a log file with better information.