Using Debugger.jl with almost all modules in compiled mode

I read Debugging extremely slow - #54 by mariusd and it mentions JuliaInterpreter, which is not listed in the Debugger.jl documentation (I have only found the README.md on github). It would be helpful to have this usage of excluding almost all modules from being interpreted clearly documented (with an example) as to how to use it.

My intuition would be that something like this should work, but I have not managed to discover the correct incantation:

using Revise # Not strictly needed, but probably very helpful in practice
using Debugger

using MyPackage

include("my_test_script") # Only defines functions and other constants

# Have some command like
#    union!(JuliaInterpreter.compiled_modules, setdiff(Base.loaded_modules_array(), [Main, MyPackage]))
# to avoid interpreting too much code
# Either here
@enter my_fun()
# Or here, before the first "continue", "step" or something like that