3 ms·
I understand the frustration, but as someone having to debug browser bugs with JavaScript edge cases, minified (and in this case ultra-obfuscated) JS is hell on
by classichasclass 5y ago
I understand the frustration, but as someone having to debug browser bugs with JavaScript edge cases, minified (and in this case ultra-obfuscated) JS is hell on earth to untangle and I wish people wouldn't.
- int0x2e 5y agoJust making sure - you're using js source maps, right? The minifaction should be adding significant pain in your debugging process.
- uryga 5y agoIME, code on prod rarely ships with a sourcemap. and as far as i can tell, GP is talking about other people's minified code, not something where they control the build process
- robocat 5y agoSource maps are used for anti-debugging: https://www.perimeterx.com/tech-blog/2019/javascript-anti-debugging-1/ https://www.perimeterx.com/tech-blog/2019/javascript-anti-de...
- mikeyjk 5y agoThat blog is horrific on mobile