简体   繁体   中英

How to include more than one module in PYTHONHUNTER environment variable

Python Hunter can be activated from command-line like below to trace execution of Python programs.

$ PYTHONHUNTER="module='os.path'" python yourapp.py

But how to specify more than one module for module filter?

More than one module can be specified using module_in filter

$ PYTHONHUNTER="module_in=['os.path','os.errno']" python yourapp.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM