Please provide cake project debugging steps with VS Code in Visual Studio 2015 not installed machine. I could not find any debugging steps in cake documentation.
Create file .vscode/launch.json and add the following content (assuming your Cake file is build.cake)
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": ".NET Core Launch (console)",
            "type": "coreclr",
            "request": "launch",
            "program": "${workspaceRoot}/tools/Cake.CoreCLR/Cake.dll",
            "args": [
                "${workspaceRoot}/build.cake",
                "--debug",
                "--verbosity=diagnostic"
            ],
            "cwd": "${workspaceRoot}",
            "stopAtEntry": true,
            "externalConsole": false
        }
    ]
}
Open your Cake file and add a breakpoint by hitting F9
This is taken from an excellent in-depth blog post by Martin Björkström on Cake's website http://cakebuild.net/blog/2016/09/debug-cake-vscode
Note VSCode debugging will only work using .NET Core, so any addin / reference must be available for .NET Core.
For debugging standard standard .NET Cake use Visual Studio, which is described in this blog post by Gary Ewan Park http://cakebuild.net/blog/2016/05/debug-cake-file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With