Removing static initializer from Debug.cpp by converting to a ManagedStatic.