Helper functions to debug sl3 Learners
debug_train(learner, once = FALSE)
debugonce_train(learner)
debug_predict(learner, once = FALSE)
debugonce_predict(learner)
sl3_debug_mode(enabled = TRUE)
undebug_learner(learner)
the learner to debug
if true, use debugonce
instead of debug
enable/disable the use of future (debugging is easier without futures)