Best way to debug a shiny app



In my organization we are writing a bunch of print statements and view statement to see what's wrong with the code. Is there any better way to debug a shiny app. Any command or any package or anything would do.

I hate writing and removing those view and print statements.


Besides this simple but very effective guide

There is reactlog check out this video from rstudio::conf


thanks for replying on to the thread reading the document helped me a lot.

But reactlog quickly turns messy when you have more than 50 variables. We have stopped using it the moment we crossed 10 modules in our App.

But I think broswer() is the best solution so far. I will stick to it.

Thanks again for replying so quickly. :grinning::grinning::grinning: