Debug

ammonite.terminal.Debug$
object Debug

Prints stuff to an ad-hoc logging file when running the ammonite repl or ammonite-terminal in development mode in its SBT project.

Very handy for the common case where you're debugging terminal interactions and cannot use println because it will stomp all over your already messed up terminal state and block debugging. With Debug, you can have a separate terminal open tailing the log file and log as verbosely as you want without affecting the primary terminal you're using to interact with Ammonite.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Debug.type

Members list

Concise view

Value members

Concrete methods

def apply(s: Any): Unit

Concrete fields

lazy val debugOutput: FileOutputStream