cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript line numbers

mflaute
Champ in-the-making
Champ in-the-making
I was wondering if there was a way to enable line numbers.
It would be extremely nice if I could get specific line numbers to where errors are
in my code if it ever breaks. I didn't know if there was any way I could
do this if in fact it was possible. I thought it might be a configuration
setting. Any help/thoughts would be extremely appreciated.
1 REPLY 1

rjohnson
Star Contributor
Star Contributor
On server side (which I suspect is what you want) you generally do. There is usually a #{line} on one of the first lines in the error report in the logs. Occasionally this doesn't happen and you get a helpfull "Null" but usually you get a line number.