Reputation: 2124
In Python, you can pass an option to the interpreter so that dumps you into an interactive session once the script finishes executing.
python -i myscript.py
Once in interactive mode, you can then inspect the state and objects in your script. Is there a similar functionality with scala and the REPL?
Upvotes: 1
Views: 204