I'm trying to debug some changes to the WebGL output from the
rgl package. For example,
library(rgl) example(plot3d) rglwidget()
rgl that's doing the display. This is really nice!
However, I've made some internal changes, and now things aren't displaying properly, so I want to debug the new code. I suspect the problem is in the initialization, so I'd like to set a breakpoint in the initialization code (which I can do), and then reload the web page. Is that possible? How do I do it?
(If I export to a browser, I can click on the "reload" button to do this. But I'm not seeing one in RStudio, so I'm hoping there's another keyboard shortcut to do it. In case it matters, I'm on a Mac, and Ctl-F5 or Cmd-F5 doesn't do a reload.)