How do I toggle source mapping in Safari 7?

﹥>﹥吖頭↗ 提交于 2019-11-28 07:14:16

问题


The Safari 7 inspector is marvelously line-mapping compiled javascript back to the coffeescript it came from. There are times, though, when I want to interact directly with the compiled javascript in inspector. How do I toggle source mapping off so I can play with the raw javascript?


回答1:


In Safari 7, Source Maps are not something that you have to toggle on or off they are just always on like resources are always available in the web developer tool. If you want to jump to the raw source you can:

"...Command-click the file name to jump to the position in the original source file."

The Safari Developer Guide has more info on this.



来源:https://stackoverflow.com/questions/19550060/how-do-i-toggle-source-mapping-in-safari-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!