(function WP$Debug$init(shouldEnableAdminDebugging, shouldEnableOnAllDomains)
{
	$$WP = $$WP || {};
	$$WP.Debug = $$WP.Debug || {};
	$$WP.Debug.IsEnabled = shouldEnableAdminDebugging || shouldEnableOnAllDomains;

	// Tag messages so we know where they came from. No one wants to hunt down the source of console spray.
	if (shouldEnableOnAllDomains)
	{
		$$WP.Debug.messagePrefix = '[Debug.js FULL DEBUG] ';
		$$WP.Debug.log("JavaScript debugging messages are enabled on all domains. (Adjust this via the 'EnableProductionClientDebugging' application setting.)");
	}
	else if (shouldEnableAdminDebugging)
	{
		$$WP.Debug.messagePrefix = '[Debug.js ADMIN DEBUG] ';
		$$WP.Debug.log("JavaScript debugging messages are enabled for local and Server Admin Elevation access only. (Adjust this via the 'DisableClientDebugging' application setting.)");
	}
	else
	{
		$$WP.Debug.messagePrefix = '';
	}
})(false,false);
