The tool window is available only when the Spy-js plugin is enabled. The plugin is bundled with RubyMine and activated by default. If not, enable it as described in Enabling and Disabling Plugins.
The tool window opens when you launch a run configuration of the type Spy-js. As soon as the Spy-js tool captures an event, it shows the event itself, its details, and stack-traces. By clicking an event, you can open the trace file, which is a prettified source file with the script that the event launched.
The tool window consists of a common toolbar and two tabs with panes:
|Item||Tooltip and shortcut||Description|
Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+F11Ctrl+Alt+RCommand RControl F5Command RControl Alt R
|Click this button to stop the current trace session and run it again. When the session is canceled externally by clicking , the button toggles to . Note, that after the session restarts, you have to refresh the traced page in the browser to start capturing events.|
F9F9F9F9F9F5F5F8 or F9Meta+F9Alt Command RF9F8Alt F8
|This button substitutes for if the previous trace session was canceled externally by clicking . Click to initiate a new session. Note, that after the session restarts, you have to refresh the traced page in the browser to start capturing events.|
Ctrl+F2Ctrl+F2Ctrl+2Ctrl+F2Ctrl+F2Shift+F5Shift+F5 or Ctrl+Shift+DeleteCtrl+F2Ctrl+Back SlashCommand F2Command F2Command F2Command F2
|Click this button to terminate the current process externally by means of the standard shutdown script.|
|Restore Layout||Click this button to to have the changes to the current layout abandoned and return to the default state.|
|Pin||When this button is pressed, the current tab will not be overwritten; instead, the results of the next command will be displayed in a new tab.|
Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+WShift+Meta+WControl Shift F4Shift Command F4Command WShift Command W
|Click this button to close the selected tab of the Run tool window and terminate the current process.|
|Click this button to show reference.|