Home:ALL Converter>Debugging in-page javascript with Chrome when the html is minified?

Debugging in-page javascript with Chrome when the html is minified?

Ask Time:2013-06-06T02:34:14         Author:mowwwalker

Json Formatter

The scripts on our website are embedded in the html and everything is minified. Throwing a debugger statement into the javascript to debug doesn't help very much because there's only actually one line of html in the original source. When the source is prettified with Chrome's code prettifier, the debugger points to the wrong line in the code.

How can I debug minified javascript embedded in the html?

Author:mowwwalker,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/16947348/debugging-in-page-javascript-with-chrome-when-the-html-is-minified
yy