Allow debugging of the CLI, preface the command with [debug] to await debugger connection.

This commit is contained in:
Cj 2024-11-05 15:33:57 -05:00
parent f56ec6d0a1
commit 4ad34ea6ab

View File

@ -6,6 +6,7 @@ public static class Program
public static async Task<int> Main() => public static async Task<int> Main() =>
await new CliApplicationBuilder() await new CliApplicationBuilder()
.AddCommandsFromThisAssembly() .AddCommandsFromThisAssembly()
.AllowDebugMode()
.SetExecutableName("ReCodeIt") .SetExecutableName("ReCodeIt")
.Build() .Build()
.RunAsync(); .RunAsync();