dotnet-how-to-debug-source-generator-vs2022
dotnet-how-to-debug-source-generator-vs2022 copied to clipboard
Roslyn component is not an option for Launch Profiles
I'm trying to follow the instructions in Microsoft Visual Studio Professional 2022 Version 17.11.3 with .NET Compiler Platform SDK installed. There isn't a "Roslyn component" option available when creating a debug launch profile. Only "Executable" and "Project." Instructions may need some updating.
I have found adding Debugger.Launch()
does work when building the project as a workaround.