Add promised repl for Model debugging