Firebug and eclipse both let me step through code using function keys. Does Safari have equivalent capabilities?
The shortcut key is Alt+F12, R. You can position your cursor anywhere in your code to instruct the debugger to run from the current execution point to the line on which the cursor is positioned.
Enable the Develop MenuChoose Safari > Preferences, and click Advanced. At the bottom of the pane, select the “Show Develop menu in menu bar” checkbox. Choose Develop > Show Web Inspector.
Apple Safari To do that, go into Safari's preferences (Safari Menu > Preferences) and select the Advanced Tab. Once that menu is enabled, you will find the developer console by clicking on Develop > Show Javascript Console. You can also use the shortcut Option + ⌘ + C .
Command + Shift + VThis shortcut is a life-saver for anyone who regularly works in Safari. This is the shortcut for “Paste and Match Style,” which basically means you can copy and paste something without its previous formatting.
The Scripts Debugger was updated to support some popular keyboard shortcuts:
Credit goes to: http://webkit.org/blog/829/web-inspector-updates/
F1 in the Web Inspector shows a help screen with all the keys. (Safari version 5.1.2)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With