#76301Output of DebuggerUtility contains HTML even if not requested
Description
When adding visibility information in DebuggerUtility
it was not respected that this utility can also be used to output in cli.
Add the missing condition and output HTML only if requested.