Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here is a way to fix this: https://gist.github.com/bgrins/5108712. When you call `log` it will preserve the line number.

Here is a demo: http://jsfiddle.net/bgrins/MZWtG/.



Beautiful solution -- line number links work and everything. You've just made my day.


This is brilliant!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: