REPL in progress #3 : add debugging to repl