debugonce() won't work well in the context of most Shiny debugging. However,
browser() statements inserted in critical places can give you a lot of insight into how your Shiny code is (not) working. See also: Debugging using
Showcase mode displays your app alongside the code that generates it and highlights lines of code in server.R as it runs them.
There are two ways to enable Showcase mode:
runApp("MyApp", display.mode = "showcase").
DESCRIPTIONin your Shiny app folder and add this line in it:
Reactive Log Visualizer provides an interactive browser-based tool for visualizing reactive dependencies and execution in your application.
To enable Reactive Log Visualizer, execute
options(shiny.reactlog=TRUE) in R console and or add that line of code in your server.R file. To start Reactive Log Visualizer, hit Ctrl+F3 on Windows or Command+F3 on Mac when your app is running. Use left and right arrow keys to navigate in Reactive Log Visualizer.