How do I debug why a viewlet is not being hidden even after adding it to viewlets.xml?

seems to me you can't hide the viewlet because is bounded to the view in ZCML (check the view directive below):

what's exactly what do you want to achieve? that package provides a view with no viewlet registered (text_only_view).