title: Debugging a scripting language like ruby
body: <p>I am basically from the world of C language programming, now delving into the world of scripting languages like Ruby and Python.</p>
  
  <p>I am wondering how to do debugging.
  At present the steps I follow is, </p>
  
  <ul>
  <li>I complete a large script,</li>
  <li>Comment everything but the portion I
  want to check</li>
  <li>Execute the script</li>
  </ul>
  
  <p>Though it works, I am not able to debug like how I would do in, say, a VC++ environment or something like that.</p>
  
  <p>My question is, is there any better way of debugging?</p>
  
  <p>Note: I guess it may be a repeated question, if so, please point me to the answer.</p>