Adds debugger display for generator functions, fixes #12