added repl debug option