You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Alex Eagle edited this page May 12, 2017
·
2 revisions
Debugging issues
You can pass additional flags to Closure compiler: --debug --formatting PRETTY_PRINT. The example uses a closure-debug script in the package.json. This will make the file much larger, but the output will be readable and the renamed properties and variables are not mangled. First, check if your issue is still reproducible with these flags.
If the issue is reproducible, you can set breakpoints and debug inside the generated bundle.
If the issue is not reproducible with these flags, that means you'll have to debug the minified code instead. Use the files produced by the --variable_renaming_report and --property_renaming_report options as the "decoder ring" to understand what a minified identifier was originally named.