Is There A Mode Of Python That Traces Each Line Executed, Similar To 'bash -x'?
I am running a python script in crontab that works fine from the command line but appears to not be running at all when it runs in cron. If this was a bash script, I would add 'bas
Solution 1:
The trace module does this.
python -m trace --trace yourscript.py
Post a Comment for "Is There A Mode Of Python That Traces Each Line Executed, Similar To 'bash -x'?"