I’m writing this down so I don’t have to keep searching it. Content stolen from here.
To do basic debugging in Racket, use tracing.