Skip to content

Commit 4c4c3bc

Browse files
committed
Add launch and task configurations for Angor Desktop debugging
1 parent dca9ef5 commit 4c4c3bc

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

.vscode/launch.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug Angor Desktop",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"preLaunchTask": "build-desktop",
9+
"program": "${workspaceFolder}/src/Angor/Avalonia/AngorApp.Desktop/bin/Debug/net9.0/Angor",
10+
"args": [],
11+
"cwd": "${workspaceFolder}/src/Angor/Avalonia/AngorApp.Desktop",
12+
"console": "internalConsole",
13+
"stopAtEntry": false
14+
},
15+
{
16+
"name": "Debug Angor Desktop (No Build)",
17+
"type": "coreclr",
18+
"request": "launch",
19+
"program": "${workspaceFolder}/src/Angor/Avalonia/AngorApp.Desktop/bin/Debug/net9.0/Angor",
20+
"args": [],
21+
"cwd": "${workspaceFolder}/src/Angor/Avalonia/AngorApp.Desktop",
22+
"console": "internalConsole",
23+
"stopAtEntry": false
24+
},
25+
{
26+
"name": "Attach to Process",
27+
"type": "coreclr",
28+
"request": "attach"
29+
}
30+
]
31+
}

.vscode/tasks.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build-desktop",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"AngorApp.Desktop/AngorApp.Desktop.csproj",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
13+
],
14+
"options": {
15+
"cwd": "${workspaceFolder}/src/Angor/Avalonia"
16+
},
17+
"problemMatcher": "$msCompile",
18+
"group": {
19+
"kind": "build",
20+
"isDefault": true
21+
}
22+
},
23+
{
24+
"label": "build-solution",
25+
"command": "dotnet",
26+
"type": "process",
27+
"args": [
28+
"build",
29+
"Angor.Avalonia.sln",
30+
"/property:GenerateFullPaths=true",
31+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
32+
],
33+
"options": {
34+
"cwd": "${workspaceFolder}/src/Angor/Avalonia"
35+
},
36+
"problemMatcher": "$msCompile"
37+
},
38+
{
39+
"label": "clean",
40+
"command": "dotnet",
41+
"type": "process",
42+
"args": [
43+
"clean",
44+
"AngorApp.Desktop/AngorApp.Desktop.csproj"
45+
],
46+
"options": {
47+
"cwd": "${workspaceFolder}/src/Angor/Avalonia"
48+
},
49+
"problemMatcher": "$msCompile"
50+
}
51+
]
52+
}

0 commit comments

Comments
 (0)