Merge pull request #7833 from chargeflux/CodeWidgetHiding-macOS Debugger: Apply hiding logic earlier (macOS)