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
I want to break add breakpoints in Azure Function app initialization code in Program.cs.
Consider the following code:
This breakpoint is ignored in VS Code, but works fine in JetBrains Rider. In VS Code, breakpoints only works in function code, i.e. methods with the attribute [Function(nameof(MyFunction))].
Steps To Reproduce
Create a new Azure Function app project from a template, set a breakpoint in Program.cs, and run the project in debug mode (F5)
Expected Behavior
I expect that debugging breaks at the breakpoint in Program.cs
Environment Information
OS: MacOS (M3/arm64)
VS Code: 1.96.2
C# Dev Kit: 1.14.14
The text was updated successfully, but these errors were encountered:
Describe the Issue
I want to break add breakpoints in Azure Function app initialization code in Program.cs.
Consider the following code:
This breakpoint is ignored in VS Code, but works fine in JetBrains Rider. In VS Code, breakpoints only works in function code, i.e. methods with the attribute
[Function(nameof(MyFunction))]
.Steps To Reproduce
Create a new Azure Function app project from a template, set a breakpoint in Program.cs, and run the project in debug mode (F5)
Expected Behavior
I expect that debugging breaks at the breakpoint in Program.cs
Environment Information
OS: MacOS (M3/arm64)
VS Code: 1.96.2
C# Dev Kit: 1.14.14
The text was updated successfully, but these errors were encountered: