How to attach debugger #3382
-
Hi, I am having problem with debugging cake library from the other repo which uses .cake file to copy files like mentioned in the issue. Also, I am unable to recreate the scenario mentioned in the issue. Even the correct case mentioned is not working i.e. copy of files is not happening at all. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey @coder2213 thanks for the interest in improving #2443 There's a few different ways to do that... A simple one would be to:
Another alternative is to |
Beta Was this translation helpful? Give feedback.
Hey @coder2213 thanks for the interest in improving #2443
There's a few different ways to do that... A simple one would be to:
-debug
e.g.dotnet cake -debug test.cake
You should get a message similar to:
cake/src/Cake.Common/IO/FileCopier.cs
)Debug
➡️Attach to Process
, and find the process with the number indicated by running Cake as per aboveAnother alternative is to
Set the
Cake
project as the startup projectUpdate the properties of the
Cake
project to…