debug formatter