In Chrome’s console (Tools » Developer Tools) the script I’m debugging is showing up without linebreaks even though the actual file has them. This has happened to me before, but I can figure out if it’s something with the spaces in the file or a setting in Chrome. But it’s pretty impossible to debug something when every error comes up as being on line 1. I tried restarting Chrome but no dice. Any idea how to get it back to normal?
In Chrome’s console (Tools » Developer Tools) the script I’m debugging is showing up
Share
Open your file with Notepad or some other editor and save it again. It seems like you ran into the same problem as the one mentioned here.
http://196.23.168.153/support/forum/p/Chrome/thread?tid=0936a4d8f8b915b5&hl=en
If that doesn’t work, use the pretty print button 🙂