From c0b972eec7c4cb7cbb4e6f65d69cf7bf9f333e22 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Wed, 4 Oct 2023 13:35:32 +0100 Subject: [PATCH] log arguments for debug builds --- Bloxstrap/App.xaml.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index ee14cfc..6d5d0d5 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -120,6 +120,10 @@ namespace Bloxstrap LaunchArgs = e.Args; +#if DEBUG + Logger.WriteLine(LOG_IDENT, $"Arguments: {string.Join(' ', LaunchArgs)}"); +#endif + HttpClient.Timeout = TimeSpan.FromSeconds(30); HttpClient.DefaultRequestHeaders.Add("User-Agent", ProjectRepository);