Debug of bash , perl and python
1.bash -x script
2.perl -d script
3. python -m pdb script
n: execute the next line
s: execute the statement and run into it
c: run to the breakpoint
b lineNum : breakpoint in the script file of perl
1.bash -x script
2.perl -d script
3. python -m pdb script
n: execute the next line
s: execute the statement and run into it
c: run to the breakpoint
b lineNum : breakpoint in the script file of perl