Is there any way to debug Shiny (R) inside VS Code? I can easily debug Shiny apps inside RStudio but I like to code inside VS Code so looking for the way to debug R code inside VS Code.
Seems, shiny can be debugged in VSCode using browser-statements 🙌
Prerequisites
appDir when running ?shiny::runApp for possible setups)Debugging
browser() (RStudio Article)shiny::runApp() in the Debug Console as soon the Debugger pausesFurther Ressources
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With