Support for repl mode, stepping and HTML to file logging