You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
I was trying to find an amusing problem with my SAFE app on docker-alpine-aspnet, then I stumbled in a crash that ApplicationInsights wasn't reporting any error, only that the request returned 500 - internal server error. My problem turned out to be some stupid missing dependencies because of a broken paket.lock, now our problem at hand.
Problem:
Now the problem I had with my debugging is that when I got the Visual Studio to attach inside the Kestrel inside the container, It didn't had the Saturn.pdb that would support the debugging experience, so I couldn't put breakpoints.
Workaround
I found an workaround by following this issue dotnet/sdk#1458, from dotnet/msbuild#2920.
Better support for pdb on nuget is being developed (tracked by this NuGet/Home#5926), meanwhile if we use the sourcelink, it will fix everything magically.
Proposed Solution
Doing the same as what this project did (abpframework/abp#6421) would solve the sourcelink problem.
Note that somehow Giraffe does it right.
1
The text was updated successfully, but these errors were encountered:
Context:
I was trying to find an amusing problem with my SAFE app on docker-alpine-aspnet, then I stumbled in a crash that
ApplicationInsights
wasn't reporting any error, only that the request returned500 - internal server error
. My problem turned out to be some stupid missing dependencies because of a brokenpaket.lock
, now our problem at hand.Problem:
Now the problem I had with my debugging is that when I got the Visual Studio to attach inside the Kestrel inside the container, It didn't had the
Saturn.pdb
that would support the debugging experience, so I couldn't put breakpoints.Workaround
I found an workaround by following this issue dotnet/sdk#1458, from dotnet/msbuild#2920.
Better support for
pdb
onnuget
is being developed (tracked by this NuGet/Home#5926), meanwhile if we use the sourcelink, it will fix everything magically.Proposed Solution
Doing the same as what this project did (abpframework/abp#6421) would solve the
sourcelink
problem.Note that somehow Giraffe does it right.
1
The text was updated successfully, but these errors were encountered: