it seems like it should be straightforward to add debuging as method decorators; it's code that's run before the method and after it.