Boilerplate Guide to Creating a Source Generator - Part 1
Creating a source generator can be done in Visual Studio or VS Code. Debugging may only be available in Visual Studio.
Before creating a source generator, it is recommended to create a working version of the final product and a throw-away application to identify repeating sections and dynamic parts.