Skip to content

Commit

Permalink
allow debugging Shiny server function itself
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Oct 2, 2013
1 parent 06c7bf7 commit bc3322d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/shiny.R
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,8 @@ resourcePathHandler <- function(req) {
#' @export
shinyServer <- function(func) {
.globals$server <- func
if (!is.null(func))
registerDebugHook("server", .globals, "Server Function")
invisible()
}

Expand Down

0 comments on commit bc3322d

Please sign in to comment.