Index: binary-improvements/MapRendering/Commands/EnableOpenIDDebug.cs
===================================================================
--- binary-improvements/MapRendering/Commands/EnableOpenIDDebug.cs	(revision 318)
+++ binary-improvements/MapRendering/Commands/EnableOpenIDDebug.cs	(revision 318)
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+
+namespace AllocsFixes.CustomCommands
+{
+	public class EnableOpenIDDebug : ConsoleCmdAbstract
+	{
+		public override string GetDescription ()
+		{
+			return "enable/disable OpenID debugging";
+		}
+
+		public override string[] GetCommands ()
+		{
+			return new string[] { "openiddebug" };
+		}
+
+		public override void Execute (List<string> _params, CommandSenderInfo _senderInfo)
+		{
+			try {
+				if (_params.Count != 1) {
+					SdtdConsole.Instance.Output ("Current state: " + AllocsFixes.NetConnections.Servers.Web.OpenID.debugOpenId);
+					return;
+				}
+
+				AllocsFixes.NetConnections.Servers.Web.OpenID.debugOpenId = _params[0].Equals("1");
+				SdtdConsole.Instance.Output ("Set OpenID debugging to " + _params [0].Equals ("1"));
+			} catch (Exception e) {
+				Log.Out ("Error in EnableOpenIDDebug.Run: " + e);
+			}
+		}
+	}
+}
Index: binary-improvements/MapRendering/Web/OpenID.cs
===================================================================
--- binary-improvements/MapRendering/Web/OpenID.cs	(revision 317)
+++ binary-improvements/MapRendering/Web/OpenID.cs	(revision 318)
@@ -20,5 +20,5 @@
 
 		private static readonly bool verboseSsl = false;
-		private static bool debugOpenId = false;
+		public static bool debugOpenId = false;
 
 		static OpenID () {
Index: binary-improvements/MapRendering/WebAndMapRendering.csproj
===================================================================
--- binary-improvements/MapRendering/WebAndMapRendering.csproj	(revision 317)
+++ binary-improvements/MapRendering/WebAndMapRendering.csproj	(revision 318)
@@ -89,4 +89,5 @@
     <Compile Include="Web\WebCommandResult.cs" />
     <Compile Include="Web\API\GetAllowedCommands.cs" />
+    <Compile Include="Commands\EnableOpenIDDebug.cs" />
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
