add debug method for recursive updates
Merge pull request #2266 from kived/recursive-updates

add debug method for recursive updates