最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Is it possible to disable source maps in Firefox (version 45.0.1)? - Stack Overflow

programmeradmin2浏览0评论

There is the "Show Original Sources" checkbox but it seem not working. I tried to find a way to disable source maps in FF Developer Tools and Firebug but without any success.

BTW: It's easy to disable them in Chrome Dev Tools.

There is the "Show Original Sources" checkbox but it seem not working. I tried to find a way to disable source maps in FF Developer Tools and Firebug but without any success.

BTW: It's easy to disable them in Chrome Dev Tools.

Share Improve this question edited Sep 23, 2016 at 5:41 Taras Hupalo asked Apr 1, 2016 at 13:33 Taras HupaloTaras Hupalo 1,3872 gold badges17 silver badges29 bronze badges 4
  • Not sure why you would want to disable source maps. Are you talking about only your browser, or all browsers running your code? – Andy Commented Apr 1, 2016 at 14:02
  • Only my browser. I need to disable them and debug original code. – Taras Hupalo Commented Apr 1, 2016 at 14:50
  • You should add the version of Firefox you're using. Maybe it's a bug related to a specific release. Also, it would be helpful if you added an example page using source maps, so people can reproduce the issue. – Sebastian Zartner Commented Apr 2, 2016 at 19:48
  • I'm using Firefox 45.0.1 (the latest version at the moment). – Taras Hupalo Commented Apr 4, 2016 at 9:24
Add a ment  | 

1 Answer 1

Reset to default 8

I was running into this issue as well until I realized that "Show Original Sources" in Firefox actually means "Use Source Maps," so you need to uncheck Show Original Sources in order to see the raw JS without Source Maps.

Source: https://developer.mozilla/en-US/docs/Tools/Debugger/Settings

发布评论

评论列表(0)

  1. 暂无评论