Debugging with the Umbraco source in v13
p
I'm having trouble debugging an issue where I need to see what is happening in the Umbraco source to troubleshoot the issue. I have tried checking out the Umbraco CMS source and building it in debug mode. Then I attach to iisexpress for the Umbraco instance that I'm running out of another Visual Studio. Is that possible? Is there a better way to debug using the Umbraco source?
m
Hi you can do this using Source Link and the load the symbol files for the Umbraco DLL you need https://devblogs.microsoft.com/dotnet/improving-debug-time-productivity-with-source-link/#enabling-source-link
p
Ah thanks! This looks easier than what I was doing. I kinda got it working by publishing the site, setting it up in IIS, and attaching it to the w3wp process there. Also had to copy in debug dlls into that site as well.
m
Interesting, you just be able to load the symbol files from the "solution explorer" while your debugging if I recall
6 Views