Missing line breaks in js for debugging...
Posted: Sat Nov 24, 2012 12:37 am
by Franz Krauth
Is there any reason why my js comes without line breaks (testing in a browser)? I have a very hard time to debug, plus, normal single line comments // don't work... or is there a 'debug' setting somewhere?
Cheers...
Missing line breaks in js for debugging...
Posted: Sat Nov 24, 2012 5:04 pm
by maxkatz
Can you post what JavaScript you included and how it looks in the browser?
Missing line breaks in js for debugging...
Posted: Sat Nov 24, 2012 11:03 pm
by Franz Krauth
Any js I have comes without nl... I thought you optimise them out... good idea for production... not so good for debugging...
... screenshots (working on Linux btw):
JS in Editor:
JS in Debugger (Chrome):
I know I can just use the beautifier... but the debugger reports line one no matter where it stops...
Missing line breaks in js for debugging...
Posted: Sun Nov 25, 2012 2:11 am
by maxkatz
Thanks, we'll get it fixed.