You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I work on the debugger that ships with the C# extension.
On arm64 macOS, the C# extension will default to debugging using the debugger that matches the machine architecture as long as an arm64 .NET runtime is installed. At least in the configuration used by dotnet/vscode-csharp#4900, Azure Functions will run in an x64 process, causing debugging to fail.
If Azure Functions always uses an x64 process, the following should be added to the template:
"targetArchitecture": "x86_64"
If the correct architecture is more complicated then that, hopefully a command can be used to query the Azure functions extension for the right architecture.
Note that the debugger will currently ignore targetArchitecture in scenarios where the debugger only installs one architecture. Which is currently the case for all platforms except for arm64 macOS, though it is possible that someday we could support this on Windows.
The text was updated successfully, but these errors were encountered:
I think that when we merge this PR (dotnet/vscode-csharp#5646) there should be no blocker to add this, and I will be happy to submit a PR. This will also enable a seamless workflow on both Mac and Windows ARM64 devices.
Hello, I work on the debugger that ships with the C# extension.
On arm64 macOS, the C# extension will default to debugging using the debugger that matches the machine architecture as long as an arm64 .NET runtime is installed. At least in the configuration used by dotnet/vscode-csharp#4900, Azure Functions will run in an x64 process, causing debugging to fail.
If Azure Functions always uses an x64 process, the following should be added to the template:
If the correct architecture is more complicated then that, hopefully a command can be used to query the Azure functions extension for the right architecture.
Note that the debugger will currently ignore
targetArchitecture
in scenarios where the debugger only installs one architecture. Which is currently the case for all platforms except for arm64 macOS, though it is possible that someday we could support this on Windows.The text was updated successfully, but these errors were encountered: