I am working on a JavaScript webapp for iOS. I can connect to safari via web inspector and see the mini died obfuscated code. I have the map files next to the js files. I have the develop menu available , obviously. I have the web inspector switch toggled on for the mobile device and have also turned off the ‘prevent cross-site tracking’ checkbox. Even with all that done I am still not able to get the map file to work. Does anyone have any suggestions?
How do I connect a JavaScript source map file to a web inspector debug session sir safari ios
Make sure you have Source Maps enabled in Web Inspector settings under the Sources settings.
https://webkit.org/web-inspector/web-inspector-settings/#sources
https://webkit.org/web-inspector/web-inspector-settings/#sources
consider using the Safari Developer Tools tag for future questions about Web Inspector.