You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed, I was surprised we didn't have a feature request open for this. This was previously attempted at #145 but abandoned. This would make for a good feature. If you'd like to implement it, go ahead.
cool-RR
changed the title
Add an option to run pysnooper as a module
Feature request: Add an option to run pysnooper as a module
Feb 21, 2023
cool-RR
changed the title
Feature request: Add an option to run pysnooper as a module
Feature request: python -m pysnooper user_script.py
Feb 21, 2023
PySnooper has a wide variety of use cases. One of the limitations is not being able to use it without modifying the script.
It would be great if the
-m
flag is added to run it as a module.The text was updated successfully, but these errors were encountered: