I've got problem debugging minified JS on production server.
While you can't catch some errors on your machine while testing dev/prod
servers, there's an opportunity to send some frontend errors and exceptions from users to a special log.
When JS files are minified, debugging this code becomes a hell.
What are the best practices in performing such work?