The DEBUG environment variable is then used to enable these based on space or comma-delimited names. Here are some examples: $ DEBUG=* python test_pydebug.py $ DEBUG=test python test_pydebug.py $ ...