Regarding the REPL, they actually merged a PR with support for interactive/debug mode. https://github.com/crystal-lang/crystal/pull/11159. There is an accompanying blog post here https://crystal-lang.org/2021/12/29/crystal-i.html.
I haven't used it myself, just thought I'd let you know.