[Pass][Layout] Add extra debugging information