Adds damage debug overlay

Adds the feature discussed here #6198.