Skip to content

Commit 3494c5f

Browse files
committed
(build) Added the ability to debug Cake Script
1 parent 8fba288 commit 3494c5f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.vscode/launch.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": ".NET Core Launch (console)",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"program": "${workspaceRoot}/tools/Cake.CoreCLR/Cake.dll",
9+
"args": [
10+
"${workspaceRoot}/build.cake",
11+
"--debug",
12+
"--verbosity=diagnostic"
13+
],
14+
"cwd": "${workspaceRoot}",
15+
"stopAtEntry": true,
16+
"externalConsole": false
17+
}
18+
]
19+
}

tools/packages.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Cake" version="0.16.1" />
4+
<package id="Cake.CoreCLR" version="0.16.1" />
5+
</packages>

0 commit comments

Comments
 (0)