Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My javascript file is displayed as a single line of text in the chrome debugger. Why?

All one line

I seem to run into this randomly. It usually displays the file normally, but sometimes it's all scrunched onto one line. I can't figure out what's causing it.

like image 928
Jesse Aldridge Avatar asked May 01 '11 04:05

Jesse Aldridge


People also ask

How do I skip a line in Chrome Debugger?

You can set breakpoints in Chrome DevTools by clicking on the line number you want to break at then press Cmd + R ( Ctrl + R ) to refresh the page. The page will then run right to that breakpoint.


1 Answers

N.B.: In the current version of Chrome, this is actually done by clicking on the {} icon ("pretty print") on the lower left of the developer tools pane.

like image 188
Reinderien Avatar answered Sep 20 '22 14:09

Reinderien