The tool window is available only when the Spy-js plugin is enabled.
The plugin is not bundled with PyCharm, but it is available from the
PyCharm plugin repository.
Once enabled, the plugin is available at the IDE level, that is, you can use it in all your PyCharm projects.
See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.
The tool window opens when you launch a run configuration of the type Spy-js or Spy-js for NodeJS. 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:
Toolbar
Item | Tooltip and shortcut | Description |
---|---|---|
![]() | Rerun Ctrl+F5 | Click this button to stop the current trace session and run it again. When the session is canceled externally by clicking ![]() ![]() |
![]() | Rerun F9 | This button substitutes for ![]() ![]() ![]() |
![]() | Stop Ctrl+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 | Use to pin or unpin the tab. If a tab is pinned, the results for the next command are shown on a new tab. |
![]() | Close Ctrl+Shift+F4 | Click this button to close the selected tab of the Run tool window and terminate the current process. |
![]() | Help F1 | Use this icon or shortcut to open the corresponding help page. |