This page describes the JavaScript Debugger as it appears before Firefox 52.
Command | Windows | OS X | Linux |
---|---|---|---|
Open the Debugger | Ctrl + Shift + S | Cmd + Opt + S | Ctrl + Shift + S |
Search in the current source using the script filter | Ctrl + F | Cmd + F | Ctrl + F |
Find next in the current source | Enter / Up arrow | Return / Up arrow | Enter / Up arrow |
Find previous in the current source | Shift + Enter / Down arrow | Shift + Return / Down arrow | Shift + Enter / Down arrow |
Search in all sources using the script filter | Ctrl + Alt + F | Cmd + Opt + F | Ctrl + Alt + F |
Search for scripts by name | Ctrl + P / Ctrl + O | Cmd + P / Ctrl + O | Ctrl + P / Ctrl + O |
Search for function definitions | Ctrl + D | Cmd + D | Ctrl + D |
Filter variables when execution is paused | Ctrl + Alt + V | Cmd + Opt + V | Ctrl + Alt + V |
Resume execution when at a breakpoint | F8 | F8 1 | F8 |
Step over | F10 | F10 1 | F10 |
Step into | F11 | F11 1 | F11 |
Step out | Shift + F11 | Shift + F11 1 | Shift + F11 |
Toggle breakpoint on the currently selected line | Ctrl + B | Cmd + B | Ctrl + B |
Toggle conditional breakpoint on the currently selected line | Ctrl + Shift + B | Cmd + Shift + B | Ctrl + Shift + B |
Add selected text to Watch expressions | Ctrl + Shift + E | Cmd + Shift + E | Ctrl + Shift + E |
Go to line using the script filter | Ctrl + L | Cmd + L | Ctrl + L |
Search using the script filter | Ctrl + O | Cmd + O | Ctrl + O |
In the source pane, jump to a function definition (new in Firefox 44) | Ctrl + click | Cmd + click | Ctrl + click |
1. By default, on some Macs, the function key is remapped to use a special feature: for example, to change the screen brightness or the volume. See this guide to using these keys as standard function keys. To use a remapped key as a standard function key, hold the Function key down as well (so to open the Profiler, use Shift + Function + F5).
Global shortcuts
These shortcuts work in all tools that are hosted in the toolbox.
Command | Windows | OS X | Linux |
---|---|---|---|
Increase font size | Ctrl + + | Cmd + + | Ctrl + + |
Decrease font size | Ctrl + - | Cmd + - | Ctrl + - |
Reset font size | Ctrl + 0 | Cmd + 0 | Ctrl + 0 |