Skip to content

A Swiss Army knife for developers.

updated debugger for mac in vs code

Etienne Baudoux7eb25f73ad8b
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index b6d5b59e0..031ac4385 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -16,6 +16,7 @@
"github.vscode-pull-request-github",
"christian-kohler.path-intellisense",
"kevin-chatham.aspnetcorerazor-html-css-class-completion",
- "vscode-icons-team.vscode-icons"
+ "vscode-icons-team.vscode-icons",
+ "nromanov.dotnet-meteor"
]
}
\ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
index e9b7bb86b..f6f40a46d 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -6,14 +6,9 @@
"configurations": [
{
"name": "Debug (MacOS)",
- "type": "coreclr",
+ "type": "dotnet-meteor.debugger",
"request": "launch",
- "program": "${workspaceRoot}/bin/Debug/AnyCPU/DevToys.MacOS/net7.0-maccatalyst/DevToys.MacOS.app",
- "args": [],
- "cwd": "${workspaceRoot}",
- "stopAtEntry": false,
- "console": "internalConsole",
- "preLaunchTask": "BuildMacOS"
+ "preLaunchTask": "dotnet-meteor: Build"
},
{
"name": "Debug (Windows)",
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 57415ed7a..2fcc00dbd 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,3 +1,6 @@
{
- "dotnet-test-explorer.testProjectPath": "src\\app\\tests\\DevToys.UnitTests\\DevToys.UnitTests.csproj"
+ "dotnet-test-explorer.testProjectPath": "src/app/tests/DevToys.UnitTests/DevToys.UnitTests.csproj",
+ "emmet.includeLanguages": {
+ "aspnetcorerazor": "html"
+ }
}
\ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 62556951c..2a4e2fb10 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -14,12 +14,14 @@
],
"tasks": [
{
- "label": "BuildMacOS",
+ "label": "BuildAndRunMacOS",
"type": "shell",
"command": "dotnet",
"args": [
"build",
"src/app/dev/platforms/desktop/DevToys.MacOS/DevToys.MacOS.csproj",
+ "-t:Run",
+ "-f:net7.0-maccatalyst",
"-c:${input:configuration}",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"/consoleloggerparameters:NoSummary"
@@ -44,7 +46,7 @@
],
"group": {
"kind": "build",
- "isDefault": true
+ "isDefault": false
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": ["$msCompile"]