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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
One trick that is often useful is to set |
Beta Was this translation helpful? Give feedback.
One trick that is often useful is to set
MSBUILDDEBUGONSTART=1
, attach to MSBuild, and set a breakpoint at{TaskName}.Execute
, for instanceCreateNewImage.Execute
.