PowerShellEditorServices
PowerShellEditorServices copied to clipboard
Watch evaluation sometimes ignores intermediate members
$Role = [pscustomobject]@{
DisplayName = 'thing'
accessPackageResourceScopes = [pscustomobject]@{
DisplayName = 'nestedthing'
}
}
$Role
Wait-Debugger

The latter watch expression should return null
Is this only in Preview?
@andschwa noticed that "add to watch" is bugged and only adds the last property if you choose a dependent item (which results in it not watching what you want). Probably related.
