python: add debug() function
3 files changed