Example #1
0
 public static void LaunchDebuggerIfFlagged(this AnalyzerConfigOptions options,
                                            string generatorName)
 {
     if (options.IsFlagged("build_property.DebugSourceGenerators") ||
         options.IsFlagged("build_property.Debug" + generatorName))
     {
         Debugger.Launch();
     }
 }