add debug codes (too ugly printings)

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>