[PATCH v2 3/6] dtoc: Add some debugging when copying nodes