title: "sh -x" equivalent for Perl and Python scripts
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2872089/how-can-i-make-perl-and-python-print-each-line-of-the-program-being-executed">How can I make Perl and Python print each line of the program being executed?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm looking for an equivalent of <code>sh -x</code> for Perl and Python. </p>