I have been using my intuition to solve errors in my Mathematica scripts. But when calculations got more complex and I started getting errors involving code in more participating scripts (a script needs another one which needs another one, etc.), I searched for a way to find a file and line number or something and I found:
both of them more appropriate to the notebook (UI) environment. I can probably use a notebook and try to run my script there; but I wonder if there is a better way to work purely command line.
(I am using Mathematica version 9)