How do I preform JS code inside <script> tag in Google Chrome?

I am trying to debug JS code inside a tag <script>

. So I need to set some breakpoints, but I can't do that as Google Chrome doesn't prefix the code inside the tag <script>

. When I click on the "Prettify" button, the browser just warns the HTML and doesn't touch the JS. Mozilla Firefox also has the same problem. Is there a way to force the browser to disable the JS code?

Not prettified JS

+3
debugging firefox google-chrome


source to share


No one has answered this question yet

Check out similar questions:

1153
How do I get ASP.NET Web API to return JSON instead of XML using Chrome?
949
How to remove border (outline) around text / input fields? (Chromium)
892
How to manually trigger HTTP POST requests using Firefox or Chrome?
593
How do I set a JavaScript breakpoint from code in Chrome?
432
How to print debug messages in Google Chrome JavaScript Console?
402
How do I run the JavaScript debugger in Google Chrome?
188
How to terminate script execution while debugging in Google Chrome?
2
HTML rendering error - works in Mozilla Firefox but not in Google Chrome
1
Why display Arabic text in Google Chrome?
1
javascript code works in IE and Chrome but not Firefox



All Articles
Loading...
X
Show
Funny
Dev
Pics