Unable Run .NET Debugging in Cursor

I use .NET 6 for development, to generate code with no issue with the cursor editor. But when run I get issues like the image below. Any idea how to fix it?

yes welcome to .net . This is an annoying thing. So youll need to keep cursor open just for the AI and have vs2022 open too

open Cursor editor and visual studio.

  • edit by Cursor
  • run in visual studio

:sweat_smile: