Done debugging hook