How to prettify JS code inside <script> tag in Google Chrome?

Viewed 187

I'm trying to debug JS code inside <script> tag. So I need to set some breakpoints but I'm unable to do that since Google Chrome doesn't prettify code inside <script> tag. When I press "Prettify" button the browser is just prettifying HTML code and isn't touching JS code. Also the same problem is present in Mozilla Firefox. Is there a way to force the browser to prettify JS code?

Not prettified JS

0 Answers
Related