keep track of the original generator function for debugging
Merge pull request #19 from jlongster/master

keep track of the original generator function for debugging