diff --git a/package.json b/package.json index 97a5d7b2f..d4177f01d 100644 --- a/package.json +++ b/package.json @@ -273,7 +273,8 @@ "darwin" ], "architectures": [ - "x86_64" + "x86_64", + "arm64" ], "binaries": [ "./vsdbg-ui", diff --git a/src/coreclr-debug/activate.ts b/src/coreclr-debug/activate.ts index 749de5cfd..cfe156f89 100644 --- a/src/coreclr-debug/activate.ts +++ b/src/coreclr-debug/activate.ts @@ -43,6 +43,9 @@ async function checkForInvalidArchitecture(platformInformation: PlatformInformat else if (platformInformation.architecture !== "x86_64") { if (platformInformation.isWindows() && platformInformation.architecture === "x86") { eventStream.post(new DebuggerPrerequisiteWarning(`[WARNING]: x86 Windows is not currently supported by the .NET Core debugger. Debugging will not be available.`)); + } else if (platformInformation.isMacOS() && platformInformation.architecture === "arm64") { + eventStream.post(new DebuggerPrerequisiteWarning(`[WARNING]: arm64 macOS is not officially supported by the .NET Core debugger. You may experience unexpected issues when running in this configuration.`)); + return false; } else { eventStream.post(new DebuggerPrerequisiteWarning(`[WARNING]: Processor architecture '${platformInformation.architecture}' is not currently supported by the .NET Core debugger. Debugging will not be available.`)); }