I could never view a script correctly in Firebug,every one of them is displayed in one line.Like shown on the image below:
http://img716.imageshack.us/img716/1126/54274507.png
How do I view it correctly so I could debug it?
Thank you in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For your own scripts, simply call:
I usually hang around the “Console” tab, and see which errors or logged items come in, or use the console itself to type in code I want to run.
I never use the “Script” tab.
If you just want to view the code nicely, use a beautifier:jsbeautifier.org