Add debug mode for phantomas runner