[debug] Added more debug statements