I think this should be name prefaced with .rs. since it's really an internal hidden function (or if you don't like the .rs. then perhaps just .registerShinyDebugHook)