python: add more information to debug()
2 files changed