Implement a -trace command line option and a trace option in the interpreter.