Add debug tree after failure