Hi Peter,
It can be quite difficult to debug apps on Shiny Server when using the psychTestR framework (although perhaps this is a general Shiny problem). Whilst I usually test everything locally first before uploading, sometimes new errors only present themselves on the server.
The issue is that if something crashes when running a psychTestR experiment on Shiny Server, you don't get an informative error. In the browser console, you usually get:

Or Shiny might say, "ERROR: An error has occurred. Check your logs or contact the app author for clarification."
However, when you get those kind of errors, app logs are not produced (ie., /var/log/shiny-server/blah.log).
Ideally, somewhere you want to see what you'd normally see in your R console when testing locally.
Perhaps I am missing a trick or a new feature would be required.
Can you recommend a way to do this, or if it requires a new feature, point me in the right direction to work on it?
All the best,
Seb
Hi Peter,
It can be quite difficult to debug apps on Shiny Server when using the psychTestR framework (although perhaps this is a general Shiny problem). Whilst I usually test everything locally first before uploading, sometimes new errors only present themselves on the server.
The issue is that if something crashes when running a psychTestR experiment on Shiny Server, you don't get an informative error. In the browser console, you usually get:
Or Shiny might say, "ERROR: An error has occurred. Check your logs or contact the app author for clarification."
However, when you get those kind of errors, app logs are not produced (ie., /var/log/shiny-server/blah.log).
Ideally, somewhere you want to see what you'd normally see in your R console when testing locally.
Perhaps I am missing a trick or a new feature would be required.
Can you recommend a way to do this, or if it requires a new feature, point me in the right direction to work on it?
All the best,
Seb