Repository navigation
Recommended Debugging Flow #417
|
I'm taking a look at #146 and was curious if the owners or contributors for this repository have a better debug flow than building the package into a local NuGet feed, referencing it from another project, and running a build while outputting logs. I'm pretty much looking for a way to step into the code as it is happening but I'm struggling to connect the dots between debugging msbuild and debugging packages that add new tasks to a project. Any guidance would be much appreciated! Tagging @baronfel as you seem to be active and also commented in the issue. |
Answered by
rainersigwald
Apr 10, 2023
Replies: 1 comment 1 reply
|
One trick that is often useful is to set |
1 reply
Answer selected by
Cjewett
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One trick that is often useful is to set
MSBUILDDEBUGONSTART=1, attach to MSBuild, and set a breakpoint at{TaskName}.Execute, for instanceCreateNewImage.Execute.