Debugging R Shiny in Quarto

I'm developing an R shiny dashboard using quarto, and have reached that point of frustration where I have an error that completely flummoxes me, and I so want to drop into a debugger so I can peek at things, but I haven't been able to find out how to do that. I found documentation for doing it in python, and that doesn't help at all.

1 Like

Some debug options:

  1. print() statements so you can see to what point/where code is being executed
  2. browser() statements to interactively enter code that's being executed
  3. debug() for functions you want to enter interactively

Without knowing more about your project, it'll be difficult to provide more concrete recommendations or troubleshooting.

1 Like

Running shiny from quarto, browser() and debug() emit a message, and then keep going. The browser is never entered, and execution is not paused.