PSDesiredStateConfiguration\Node : At least one of the values ‘False’ is not supported or valid for property ‘DebugMode’ on class ‘Settings’. Please specify only supported values:
None, ForceModuleImport, All.
Every single production server showing as Debug is enabled in Event Logs. I wouldn’t be surprised if other people have it too but just haven’t noticed.
I wonder if this is some sort of RTM 5 bug?
I can confirm my WMF4 lab shows the same behavior. Nodes say debug is $true while the LCM query says none.
I initially thought it might be like a GPO where “none” meant undefined as opposed to true false but here, as well, it seems to be an explicit variable.
That said, I believe debug mode usually disables caching so you can easily tweak/test modules yet the behavior is clear (at least in my lab) that the modules are cached. I have a feeling it may be a simple reporting bug to the event log while the service behaves properly.
I posted my feedback on your report as well. From what I can ell it’s one of two things:
A simple eventlog bug where the posted log isn’t accurately reporting debug status. From what I can tell DSC is behaving properly when you toggle it.
We are misunderstanding of what’s being reported. Possibly it’s reporting if debug features are installed and ready vs what mode it is in (True/False are not even valid values in the list of none/forcemoduleimport/all)