Enabling Breakpoints in Visual Studio 2026

Does anyone have any tips for enabling breakpoints in VS2026 (community)? I've loaded my ASPNM 2026 project, but can't seem to get the breakpoints to break. They are shown as disabled with the alert: "The breakpoint will not currently be hit. No executable code of the debugger's target code type is associated with this line."

I've tried checking some of the suggested settings from Google, but am still stuck.

Make sure that you have enabled Debug mode and set Environment to Development.

I have the Debug (any CPU) config selected and the Development environment variable is being passed in. I also have code optimization off.

I mean the Debug mode in ASP.NET Maker.

That fixed it, I have breakpoints now! Thank you very much.