closure debuggin