Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I toggle source mapping in Safari 7?

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?

like image 874
jpadvo Avatar asked Oct 23 '13 18:10

jpadvo


1 Answers

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.

like image 61
zbthomas Avatar answered Sep 20 '22 18:09

zbthomas