简体   繁体   中英

Rogue sourceMap to prevent Chrome DevTools debugging

Is it possible to purposefully create a bad sourcemap for a javascript file to make it harder to see the pretty source code or debug through it to people outside the development team?

Do you know any tools to do that?

Where can I find the details of sourceMap format to try and do that myself?

Why would you want to do this? In general, when you are shipping production code that has been minified, you just don't compile a source map at all.

It's impossible with sourceMap. Everyone can disable sourceMap in DevTools settings and debug original sources.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM