Bash programming has a very helpful command of:
bash -x myscript.sh
This will show you what bash is doing while running through myscript.sh. Python has the same functionality, through this command:
python -m trace --trace myscript.py
Very useful in debugging python programs. Additional info:
http://docs.python.org/library/trace.html
No comments:
Post a Comment