Callback on Internal Stages of TSIT5

You’d make modifications right here:

If you want a version that’s more plyable for playing with, you may be interested in SimpleDiffEq.jl

The barebones version for GPU kernels is a rather nice version for hacking to do weird things.