improved parser debugging

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>