Best way to manage USB cables with external display

I am developing applications using a Portenta with an external HDMI monitor. This requires constantly plugging, unplugging and rearranging the cables in a USB Hub every-time you modify a sketch and want to upload it and then use it. , (There can only be one USB Host on the hub at any time ). Anyone have a better way to do it? Does anyone use a USB Switch instead of a hub?