browser() mode in RStudio version 2021.09 very slow for large shiny apps

Since updating to 2021.09 version of RStudio, the wait time when I press 'Next' in 'browser()' mode has increased significantly. The actual run time of the app when not in browser mode seems the same.

I have tested this by reinstalling the old version of RStudio (1.4.1717) and there is no speed issue in browser mode.

I have tried building a reproducible example with a skeleton shiny app, but the issue only seems apparent on my much larger shiny app.

Any ideas what might be going on here and how I can potentially fix it for the latest version of RStudio?

I am using Shiny package version 1.7.1 and R version 4.0.5. Windows 10.