I recently wrote a blog post about how to control minification per request. However, that strategy will not help you if the minification itself is causing a bug.
Fortunately Chrome has an absolutely amazing set of developer tools that can help you debug any script, even one that have been minified! Just follow these very simple steps:
- Navigate to the page in Chrome.
- Launch the developers tools (by pressing F12).
- Activate the amazing "Pretty print" feature.
- Debug those scripts!