Add a DEBUG_TOKENS option which causes token operations to be logged to