suggestion for debug hooks
Merge pull request #567 from badlogic/hooks

Proposal for debug hook