Skip to content

Commit 9e7556e

Browse files
committed
Merge pull request #135 from chuckries/dev
Implement debug proxy to display error message before install completes
2 parents a27e4ab + e13c78d commit 9e7556e

File tree

7 files changed

+513
-273
lines changed

7 files changed

+513
-273
lines changed

coreclr-debug/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ bin
22
obj
33
project.lock.json
44
debugAdapters
5-
install.log
5+
install.log
6+
extension.log

package.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"github-releases": "^0.3.0",
2525
"run-in-terminal": "*",
2626
"semver": "*",
27+
"vscode-debugprotocol": "^1.6.1",
2728
"vscode-extension-telemetry": "0.0.4",
2829
"tmp": "0.0.28",
2930
"open": "*"
@@ -49,7 +50,7 @@
4950
"onCommand:o.showOutput",
5051
"onCommand:o.execute-last-command",
5152
"onCommand:dotnet.restore",
52-
"onCommand:csharp.addTasksJson",
53+
"onCommand:csharp.downloadDebugger",
5354
"workspaceContains:project.json"
5455
],
5556
"contributes": {
@@ -105,6 +106,11 @@
105106
"command": "dotnet.restore",
106107
"title": "Restore Packages",
107108
"category": "dotnet"
109+
},
110+
{
111+
"command": "csharp.downloadDebugger",
112+
"title": "Download .NET Core Debugger",
113+
"category": "Debug"
108114
}
109115
],
110116
"keybindings": [
@@ -154,10 +160,9 @@
154160
"csharp"
155161
]
156162
},
157-
"program": "./coreclr-debug/debugAdapters/OpenDebugAD7",
158-
"windows": {
159-
"program": "./coreclr-debug/debugAdapters/OpenDebugAD7.exe"
160-
},
163+
"runtime": "node",
164+
"runtimeArgs": [],
165+
"program": "./out/coreclr-debug/proxy.js",
161166
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
162167
"configurationAttributes": {
163168
"launch": {
@@ -380,4 +385,4 @@
380385
}
381386
]
382387
}
383-
}
388+
}

0 commit comments

Comments
 (0)